body { margin:0px; padding:0px; } #left { width:200px; height:9999px; background:#f7fafc; border-right:1px solid #e5ebf1; float:left; } #left div { height:40px; color:#384463; font-size:14px; line-height:40px; border-bottom:1px solid #f6fafd; border-top:1px solid #f6fafd; text-align:center; } #left div:hover { background:#06C; cursor:pointer; color:#FFF }
导航栏、侧边栏选中状态