摘要:<!DOCTYPE html> <html> <head> <meta cherset="utf-8"> <title>边框部分知识</title> &nb
<!DOCTYPE html>
<html>
<head>
<meta cherset="utf-8">
<title>边框部分知识</title>
<link rel="shortcut icon" type="image/x-icon" href="image/logo.png">
<link rel="stylesheet" type="text/css" href="css/hcx.css">
<style type="text/css">
.box{width: 150px;height: 150px;border: 1px dotted #ccc;border-radius: 75px;>
.main{width: 150px;height: 150px;border-top: 1px solid red;background: #ccc;border-left: 1px soid red;}
button{border: none;}
.shadow{width: 300px;height: 40px;box-shadow: 0px 6px 30px inset;}
</style> </head>
<body>
<div class="box"></div>
<div class="main"></div>
<button>登录</button>
<div class="shadow"></div>
</body>
</html>
批改老师:天蓬老师批改时间:2019-01-28 09:09:35
老师总结:边框的样式设置非常的灵活, 充分利用简写, 可以大大提升效率