-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (55 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Font Subset</title>
<link rel="stylesheet" href="styles/main.css">
<script src="scripts/main.js" type="module"></script>
</head>
<body>
<form>
<h1>Font subseting</h1>
<fieldset>
<legend>Font File</legend>
<label class="file-control">
<input type="file" name="file" accept=".woff2, .woff, .ttf, .otf">
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="16 16 12 12 8 16"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"></path><polyline points="16 16 12 12 8 16"></polyline></svg>
<span class="file-control__label">
Attach a file...
</span>
</label>
</fieldset>
<fieldset>
<legend>Format</legend>
<label class="choose-control">
<input type="radio" name="flavor" value="">
Preserve format
</label>
<label class="choose-control">
<input type="radio" name="flavor" value="woff">
woff
</label>
<label class="choose-control">
<input type="radio" name="flavor" value="woff2">
woff2
</label>
</fieldset>
<fieldset>
<legend>Text</legend>
<textarea class="text-control" name="text"></textarea>
</fieldset>
<fieldset>
<legend>Unicodes</legend>
<textarea class="text-control" name="unicodes"></textarea>
</fieldset>
<button class="button" type="submit">
<div class="button__loader"></div>
<span>Convert</span>
</button>
<a class="file-control">
<span>Download a file:</span> <span class="file-control__label"></span>
</a>
</form>
</body>
</html>