-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
65 lines (59 loc) · 2.31 KB
/
index.html
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML 2 BEM</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu:400,700">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<main class="app">
<div class="app__wrapper">
<h1 class="app__header">
HTML 2 BEM
<small class="app__version">v.0.4.2</small>
</h1>
<label class="app__option filter">
Filter: <input class="filter__input" value="" placeholder="Put filter for CSS classes" />
</label>
<div class="app__option mode">
<strong class="mode__name">Select mode:</strong>
<label class="mode__label">
<input type="radio" class="mode__input" name="outputLanguage" value="less" checked />LESS
</label>
<label class="mode__label">
<input type="radio" class="mode__input" name="outputLanguage" value="sass" />Sass
</label>
<label class="mode__label">
<input type="radio" class="mode__input" name="outputLanguage" value="css" />CSS
</label>
</div><!-- .app__option.outputLanguage -->
<div class="app__option indent">
<strong class="indent__name">Select indent:</strong>
<select name="character" class="indent__input indent__input--type">
<option value="tabs" selected>Tabs</option>
<option value="spaces">Spaces</option>
</select><!-- .indent__input -->
<select name="length" class="indent__input indent__input--length">
<option value="1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select><!-- .indent__input -->
</div><!-- .app__option.indent -->
<div class="app__textareas">
<textarea class="app__input" placeholder="Paste your HTML code here..."></textarea>
<textarea class="app__output" readonly placeholder="Your BEM classes will appear here..."></textarea>
</div>
</div><!-- .app__wrapper -->
</main><!-- .app -->
<script src="js/string.helper.js"></script>
<script src="js/array.helper.js"></script>
<script src="js/less.parser.js"></script>
<script src="js/css.parser.js"></script>
<script src="js/sass.parser.js"></script>
<script src="js/app.js"></script>
</body>
</html>