国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

前端開發(fā)入門教程,web前端零基礎html5 +css3+前端項目視頻教程

2023-08-17 15:39 作者:白金桑  | 我要投稿


《新浪導航案例》

<!DOCTYPE html>

<html lang="en">

<head>

? ? <meta charset="UTF-8">

? ? <meta name="viewport" content="width=device-width, initial-scale=1.0">

? ? <title>Document</title>

? ? <style>

? ? ? ? .box{

? ? ? ? ? ? /* 塊級的默認寬度是網(wǎng)頁的100% */

? ? ? ? ? ? height: 40px;

? ? ? ? ? ? background: #fff;

? ? ? ? ? ? border-top: 3px solid #ff8500;

? ? ? ? ? ? border-bottom: 1px solid #ededf0;

? ? ? ? }

? ? ? ? /* 后代:box里面的a */

? ? ? ? .box a{

? ? ? ? ? width: 80px;

? ? ? ? ? height: 40px;

? ? ? ? ?

? ? ? ? ? /* 行內塊元素 */

? ? ? ? ? display: inline-block;

? ? ? ? ? /* 設置文字對齊方式 */

? ? ? ? ? text-align: center;

? ? ? ? ? /* 設置行高 */

? ? ? ? ? line-height: 40px;

? ? ? ? ? /* 去除下劃線 */

? ? ? ? ? text-decoration: none;

? ? ? ? ? color: black;

? ? ? ? ? font-size: 12px;

? ? ? ? }

? ? ? ?.box a:hover{

? ? ? ? ? ? color: orange;

? ? ? ? ? ? background-color: #ededf0;

? ? ? ? }

? ? </style>

</head>

<body>

? ? <div class="box">

? ? ? ? <a href="">新浪導航</a>

? ? ? ? <a href="">新浪導航</a>

? ? ? ? <a href="">新浪導航</a>

? ? ? ? <a href="">新浪導航</a>

? ? </div>

</body>

</html>

前端開發(fā)入門教程,web前端零基礎html5 +css3+前端項目視頻教程的評論 (共 條)

分享到微博請遵守國家法律
徐汇区| 肥城市| 会昌县| 扶沟县| 分宜县| 嫩江县| 玉溪市| 吴川市| 五常市| 德令哈市| 遵义市| 安陆市| 黑龙江省| 白水县| 郯城县| 万全县| 陆良县| 嘉善县| 梁河县| 新巴尔虎右旗| 句容市| 合阳县| 离岛区| 尉氏县| 和平区| 固始县| 元朗区| 长汀县| 镇雄县| 鞍山市| 博兴县| 嵩明县| 视频| 双城市| 海兴县| 青浦区| 深州市| 当涂县| 林州市| 屯昌县| 会泽县|