摘要:<!DOCTYPE HTML><html><head> <meta charset="utf-8"> <title>学习CSS第三节课 边框</title> <link rel="shortcut
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>学习CSS第三节课 边框</title>
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
<link rel="stylesheet" type="text/css" href="css/index.css">
<style type="text/css">
.box{width: 100px; height: 100px; border: 1px dotted #ccc;border-radius:30px;}
.main{width: 100px;height: 100px;border-top:1px solid red;background:#ccc;border-left:1px solid red;}
button{border:none;}
.shadow{width:300px;height:40px;box-shadow:10px 5px 3px #ccc inset ;border: 1px solid #ccc;}
</style>
</head>
<body>
<div class="box"></div>
<div class="main"></div>
<button>登录</button>
<div class="shadow"></div>
</body>
</html>
批改老师:灭绝师太批改时间:2018-11-07 13:40:07
老师总结:除了测试代码,可以找一些小案例做做看提升记忆