话不多说,上代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>侧边导航栏</title>
<style>
body{
margin: 0;/* 外边距 0不用给单位 */
}
ul{
list-style: none;/* 清除小黑圆点 */
margin: 0;
padding: 0;/* 内边距 */
}
.wrap{
width: 60px;
height: 225px;
border: 0.5px solid;
position: fixed;
}
.head{
font-weight: bold;
width: 60px;
height: 40px;
background-color: white;
line-height: 40px;/* 行高=高度 垂直居中 */
font-size: 14px;
color: #000000;/* 文字颜色 白色 */
text-align: center;/* 文本对齐方式 居中 */
}
.list:hover{
5282


&spm=1001.2101.3001.11974&articleId=118414992&d=1&t=3&u=252695a456484b6391957290117638a3)

被折叠的 条评论
为什么被折叠?



