-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (40 loc) · 1.27 KB
/
index.html
File metadata and controls
41 lines (40 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HTML to CSS</title>
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
</head>
<body>
<header><h1>make css from html</h1></header>
<main>
<fieldset class="options">
<legend>Choose what to extract:</legend>
<input type="checkbox" id="element" name="option" />
<label for="element"> HTML elements </label><br />
<input type="checkbox" id="class" name="option" />
<label for="class"> Classes </label><br />
<input type="checkbox" id="id" name="option" />
<label for="id"> IDs</label>
</fieldset>
<button id="extractor">Do the thing!</button>
<div class="boxes">
<textarea
id="input"
placeholder="Paste your HTML..."
autofocus
></textarea>
<p class="arrow">➡</p>
<textarea
id="output"
placeholder="Your CSS will appear here..."
readonly
></textarea>
</div>
</main>
<footer><p>made with love and notepad++</p></footer>
</body>
</html>