-
Notifications
You must be signed in to change notification settings - Fork 253
/
css.html
61 lines (61 loc) · 1.37 KB
/
css.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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>svg-sprite preview</title>
<link href="{{{css}}}" rel="stylesheet" type="text/css"/>
<style>
body {
padding: 0;
margin: 0;
color: #666;
background: #fafafa;
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
line-height: 1.4;
width: 1280px;
}
li {
display: inline-block;
background-color: #fff;
position: relative;
margin: 0 2em 2em 0;
vertical-align: middle;
border: 1px solid #ccc;
padding: 1em;
cursor: default;
width: 200px;
height: 200px;
line-height: 200px;
}
figure {
width: 100%;
margin: 0;
padding: 0;
text-align: center;
display: inline-block;
line-height: 1;
vertical-align: middle;
}
figcaption {
display: none;
}
i {
display: inline-block;
margin-bottom: 1em;
}
</style>
</head>
<body>
<ol>
{{#shapes}}
<li>
<figure>
<i class="{{#selector.shape}}{{#last}}{{#classname}}{{raw}}{{/classname}}{{/last}}{{/selector.shape}}"> </i>
<figcaption>{{name}}</figcaption>
</figure>
</li>
{{/shapes}}
</ol>
</body>
</html>