-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtml5Css3.html
43 lines (37 loc) · 1.87 KB
/
html5Css3.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<!--[if IE]>
<script src="js/html5shiv-master/dist/html5shiv.min.js" type="text/javascript"></script>
<![endif]-->
<style type="text/css">
article,aside,dialog,footer,header,section,footer,nav,figure,menu{display:block}
div{ width: 100px; height: 100px; border: 1px solid #2AB2DF; background-color:#FFF;}
.box {
-moz-border-radius: 15px; /* Firefox */
-webkit-border-radius: 15px; /* Safari and Chrome */
border-radius: 15px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
-moz-box-shadow: 10px 10px 20px #000; /* Firefox */
-webkit-box-shadow: 10px 10px 20px #000; /* Safari and Chrome */
box-shadow: 10px 10px 20px #000; /* Opera 10.5+, future browsers and IE6+ using IE-CSS3 */
}
.box1 {
-moz-border-radius: 15px; /* Firefox */
-webkit-border-radius: 15px; /* Safari and Chrome */
border-radius: 15px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
-moz-box-shadow: 10px 10px 20px #000; /* Firefox */
-webkit-box-shadow: 10px 10px 20px #000; /* Safari and Chrome */
box-shadow: 10px 10px 20px #000; /* Opera 10.5+, future browsers and IE6+ using IE-CSS3 */
/*behavior: url(js/ie-css3.htc); /!* This lets IE know to call the script on all elements which get the 'box' class *!/*/
behavior: url(js/pie1.0/PIE.htc); /* This lets IE know to call the script on all elements which get the 'box' class */
}
</style>
</head>
<body>
<div class="box">aa</div>
<section style="width: 500px; height: 100px; border: 1px solid #ff0033; border-radius:10px;"></section>
<div class="box1">bbb</div>
</body>
</html>