摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" con
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>border</title>
<style>
.box_border{
width:200px;
height:200px;
border:1px solid red;
border-radius:100px;
}
.box_border_one{
width:200px;
height:200px;
border-top:1px solid red;
border-right:3px double red;
border-bottom:1px dashed red;
border-left:1px dotted red;
background:green;
/* border-radius:100px; */
}
button{border:none;}
/* double 双线 dashed 虚线 dotted 点状虚线 */
.shadow{
width:200px;
height:100px;
box-shadow:10px 10px 27px red inset;
border:1px solid red;
}
/* box-shadow:10px 5px 17px red inset; */
</style>
</head>
<body>
<div class="box_border">456</div>
<hr/>
<div class="box_border_one">789</div>
<hr/>
<button>确定</button>
<hr/>
<div class="shadow"></div>
</body>
</html>
批改老师:灭绝师太批改时间:2018-11-15 12:33:45
老师总结:声明太老啦:<!DOCTYPE html>这样就可以了;前面的学习比较基础,后面越来越精彩