abstrait:<!DOCTYPE html><html><head><title>邊框練習(xí)</title><meta charset="UTF-8"><link rel="shortuct icon" type="image/x-icon" href="static
<!DOCTYPE html>
<html>
<head>
<title>邊框練習(xí)</title>
<meta charset="UTF-8">
<link rel="shortuct icon" type="image/x-icon" href="static/1.jpg">
<link rel="stylesheet" type="text/css" href="static/css/index.css">
<style>
<!--solid=實(shí)線,double=雙實(shí)線,dashed=方虛線,dotted=圓虛線-->
<!--border-radius=邊框圓角-->
<!--border-shadow=邊框陰影 border-shadow: x軸 y軸 陰影寬度 顏色 inset=內(nèi)陰影-->
#one{width:500px;height:500px;border:1px solid red;border-radius:10px;border-shadow:0px 5px 5px #ccc inset}
<!--清除邊框線-->
button{border:none}
</style>
</head>
<body>
<div id="one"></div>
<button>登錄</button>
</body>
</html>
Professeur correcteur:天蓬老師Temps de correction:2019-06-29 13:16:45
Résumé du professeur:border是盒模型中, 最有意義的元素, 它不像是內(nèi)外邊距是透明的, 只有寬度可以設(shè)置, 它還可以設(shè)置樣式和前景色...