* { margin:0; padding:0; list-style:none; } .box { width:500px; height:500px; margin:20px; border:1px solid #ccc; } .box ul { height:30px; border-bottom:1px solid #ccc; } .box ul li { float:left; width:99px; line-height:30px; text-align:center; font-size:16px; border-right:1px solid #ccc; cursor:pointer; } .box ul li:last-child { width:100px; border:0; } .box ul li.current { color:#fff; background:#999; } .wrap { width:500px; height:470px; overflow:hidden; } .wrap > div { width:500px; height:470px; font-size:56px; color:red; }