forked from lojjic/PIE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
border-image-test.html
54 lines (47 loc) · 1.39 KB
/
border-image-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
53
54
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta content="">
<style>
html { -pie-load-path: "../build"; }
html, body {
position: relative;
height: 100%;
padding: 0;
}
div {
padding: 1em;
margin: 1em;
background: #CCC;
border-width: 20px;
border-bottom-width: 30px;
height:15%;
behavior:url(../build/PIE_uncompressed.htc);
}
#test1 {
border-image: url(border.png) 27 stretch;
border-image: url(border.png) 27 fill stretch;
-moz-border-image: url(border.png) 27 stretch;
-webkit-border-image: url(border.png) 27 stretch;
}
#test2 {
border-image: url(border.png) 27 repeat;
border-image: url(border.png) 27 fill repeat;
-moz-border-image: url(border.png) 27 repeat;
-webkit-border-image: url(border.png) 27 repeat;
}
#test3 {
border-image: url(border.png) 27 round;
border-image: url(border.png) 27 fill round;
-moz-border-image: url(border.png) 27 round;
-webkit-border-image: url(border.png) 27 round;
}
</style>
</head>
<body>
<div id="test1">test 1</div>
<div id="test2">test 2</div>
<div id="test3">test 3</div>
</body>
</html>