body{margin:0;padding:0;height:100%;background:gainsboro;
}.wrap{height:100%;
}#nav ul{margin:10px;
}#title{width:100%;height:100px;background-color:red;
}#nav{width:100%;height:20%;background-color:white;
}#nav li{display:inline-block;width:25%;height:20%;float:left;
}#nav li a{color:#0f0f0f;text-align:center;font-size:40px;
}#nav ul li a:hover{color:red;
}
/*通过span设置下划线*/#nav ul li a:hover span{padding-bottom:17px;border-bottom:2px solid;
}.item{padding:40px;margin-top:40px;margin-right:40px;margin-bottom:40px;border-radius:25px;//给li标签右边设置图片
background:red url(‘../2.png‘) no-repeat right center;
}.i1{padding:40px;margin-top:40px;margin-right:40px;margin-bottom:40px;border-radius:25px;background:red url(‘../1.png‘) no-repeat right center;
}
我是标题