サマリー:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>學習css第三節(jié)課 --邊框</title> <style type
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>學習css第三節(jié)課 --邊框</title>
<style type="text/css">
.box{width: 100px;height: 100px;border: 1px /* solid實線 double雙線 dashed虛線 dotted 點狀虛線*/ solid #ccc;border-radius: 50%;}
.main{width: 100px;height: 100px;border-top: 1px solid red; background: #ccc;margin-top: 50px;}
button{border: none;}
.shadow{width: 100px;height: 100px;border: 1px solid red; box-shadow: 1px 2px 3px;}
</style>
</head>
<body>
<div class="box">111</div>
<div class="main">222</div>
<button>登錄</button>
<div class="shadow">
</div>
</body>
</html>