/* 导航 */ .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; } /*底部*/ footer { border-top: 1px solid #e3e3e3; position: fixed; bottom: 0; right: 0; left: 0; text-align: center; font: 14px Helvetica Neue,Helvetica,PingFang SC,\5FAE\8F6F\96C5\9ED1,Tahoma,Arial,sans-serif; box-shadow: 0 -1px 2px 0 rgba(0,0,0,.0); box-sizing: border-box; background-color: #fff; z-index: 999; height: 30px; font-size: 13px; line-height: 30px; } footer a { color: #3573ab; font-weight: bold; text-decoration: none; cursor: pointer; }