/
svg-icons-test.html
52 lines (47 loc) · 1.23 KB
/
svg-icons-test.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
<html>
<head>
<style>
body {
background-color: #555;
}
.container {
background-color: #000;
width: 240px;
height: 240px;
float: left;
margin-right: 10px;
}
.container svg path {
fill: white;
}
.container svg:hover path {
fill: red;
}
</style>
</head>
<body>
<div class="container">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">
<path d="M1,0 L11,6 L1,12 Z"></path>
</svg>
</div>
<div class="container">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">
<path d="M1,0 L4,0 L4,12 L1,12 Z"></path>
<path d="M8,0 L11,0 L11,12 L8,12 Z"></path>
</svg>
</div>
<div class="container">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">
<path d="M0,0 L5,0 L3,2 L5,4 L4,5 L2,3 L0,5 Z"></path>
<path d="M12,12 L12,7 L10,9 L8,7 L7,8 L9,10 L7,12 Z"></path>
</svg>
</div>
<div class="container">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">
<path d="M5,5 L5,0 L3,2 L1,0 L0,1 L2,3 L0,5 Z"></path>
<path d="M7,7 L12,7 L10,9 L12,11 L11,12 L9,10 L7,12 Z"></path>
</svg>
</div>
</body>
</html>