forked from lojjic/PIE
/
track-hover_track-active.html
55 lines (46 loc) · 1.08 KB
/
track-hover_track-active.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
<!DOCTYPE html>
<html>
<head>
<title>-pie-png-fix test</title>
<style>
div {
behavior: url(../build/PIE.htc);
border-radius: 20px;
box-shadow: 0 0 10px blue;
background: white;
width: 200px;
height: 50px;
padding: 30px;
margin: 50px;
}
div.hover:hover {
border-radius: 30px;
box-shadow: 0 0 10px green;
}
#hover-false {
-pie-track-hover: false;
}
div.active:active {
border-radius: 50px;
box-shadow: 0 0 20px red;
}
#active-false {
-pie-track-active: false;
}
</style>
</head>
<body>
<div class="hover" id="hover-true">
-pie-track-hover: true;
</div>
<div class="hover" id="hover-false">
-pie-track-hover: false;
</div>
<div class="active" id="active-true">
-pie-track-active: true;
</div>
<div class="active" id="active-false">
-pie-track-active: false;
</div>
</body>
</html>