摘要:<!DOCTYPE html><html><head> <title>边框</title> <meta charset="utf-8"> <style type="text/css"> .box{width: 100px;height: 100px;border: 1px
<!DOCTYPE html>
<html>
<head>
<title>边框</title>
<meta charset="utf-8">
<style type="text/css">
.box{width: 100px;height: 100px;border: 1px solid #ccc;border-radius: 50px;}
.main{width: 100px;height: 100px;border-top: 1px solid red;background: #ccc;border-left: 1px solid red; border-right: 1px solid red;}
button{border: none;}
.shadow{width: 300px;height: 40px;box-shadow: 0px 5px 30px #ccc inset;/*border: 1px solid #ccc;*/}
</style>
</head>
<body>
<div class="main"></div>
<div class="box"></div>
<button>登陆</button>
<div class="shadow"></div>
</body>
</html>
批改老师:韦小宝批改时间:2019-03-14 09:12:46
老师总结:css实现边框样式可以有多种样式的 没事多去实现几种