<!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>
<link rel="stylesheet" href="./css/reset.css">
<style>
/* body{
/* 设置背景颜色方便练习观察 * /
background-color: aquamarine;
} */
.sport{
/* 设置这一部分整体div的大小 背景颜色*/
width: 300px;
height: 324px;
background-color:white;
/* 外边距上下27 是抄的网页的,应给是给多个的时候留下间距 */
/* 100px 是为了放中间方便看 */
margin: 27px 100px;
/* 设置边框 */
border-top: 1px solid #ddd;
}
.item a{
text-decoration: none;
font-size: 20px;
color:black;
/* 设置字体粗度 */
font-weight: 600;
/* font-weight: bold; */