-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (73 loc) · 2.52 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<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>Simple Webfont Tester</title>
<link rel="stylesheet" href="style.css" />
<style id="font-stylesheet"></style>
<script src="font-test.js" defer></script>
</head>
<body>
<div class="wrapper">
<div class="wrapper__inner">
<h1>Simple Webfont Tester</h1>
<div class="upload">
<input
type="file"
name="font-upload"
id="font-upload"
class="upload__input"
/>
<div class="controls">
<div class="controls__group">
<label for="font-weight">font-weight</label>
<select name="font-weight" id="font-weight">
<option value="bold">bold</option>
<option value="normal">normal</option>
<option value="100">100</option>
<option value="200">200</option>
<option value="300">300</option>
<option value="400">400</option>
<option value="500">500</option>
<option value="600">600</option>
<option value="700">700</option>
<option value="800">800</option>
<option value="900">900</option>
</select>
</div>
<div class="controls__group">
<label for="font-style">font-style</label>
<select name="font-style" id="font-style">
<option value="normal">normal</option>
<option value="italic">italic</option>
<option value="oblique">oblique</option>
</select>
</div>
<div class="controls__group">
<label for="font-size">font-size</label>
<input
type="number"
name="font-size"
id="font-size"
value="50"
step="1"
class="controls__input controls__input--number"
/>
<span>px</span>
</div>
</div>
</div>
<div
id="samples"
class="samples"
contenteditable="true"
spellcheck="false"
>
<div class="samples__item">ABCDEFGHIJKLMNOPQRTUVWXYZ</div>
<div class="samples__item">abcdefghijklmnopqrstuvwxyz</div>
</div>
</div>
</div>
</body>
</html>