/* 导航 */ .nav { background-color: #333; list-style-type: none; position: fixed; width: 100%; overflow: hidden; } .nav li { float: left; } .nav li a { display: block; text-decoration: none; padding: 12px 16px; text-align: center; } .nav li a:hover { color: #fff; } .nav li.right { float: right; } .nav-unselect { color: rgba(255,255,255,.7); } .nav-select { background-color: #a62d2d; color: #fff; }