亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

css中的邊框樣式

原創(chuàng) 2019-03-02 23:05:06 285
摘要:<!DOCTYPE html><html><head><meta charset="utf-8"><title>邊框樣式</title><style type=“text/css”>   .box{width:20px;height:30px;border:1px solid

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>邊框樣式</title>

<style type=“text/css”>

   .box{width:20px;height:30px;border:1px solid red;}

   .main{width:30px;height:40px;border-top: 1px solid #ccc;border-right: 1px dashed #ccc;background: pink;}

   button{border: none;}

   .shadow{width:100px;height:30px;box-shadow: 5px 6px 10px #ccc ;/*inset*/}

</style>

</head>

<body>

   <div class="box"></div>

   <div class="main"></div>

   <button>登陸</button>

   <div class="shadow"></div>

</body>

</html>

批改老師:西門大官人批改時間:2019-03-03 10:28:51
老師總結:CSS中的邊框是通過定義border實現的,如border-color可以控制顏色,border-radius可以控制邊框弧度等

發(fā)布手記

熱門詞條