* { margin:0; padding:0; font-family:Microsoft YaHei,serif; } li { list-style:none; } .wrap { width:450px; padding:20px 0; margin:50px auto; border:solid 1px #ccc; -webkit-border-radius:10px; -moz-border-radius:10px; border-radius:10px; } .list { width:100%; height:auto; overflow:hidden; } .list li { width:100%; height:60px; line-height:60px; font-size:20px; color:#fff; border-bottom:solid 2px #fff; } li .w-left,.list li .w-right { display:inline-block; } .list li .w-left,.a-left { position:relative; float:left; width:40px; height:60px; text-align:center; cursor:pointer; } .a-check { width:100%; height:60px; line-height:60px; font-size:18px; color:#fff; background-color:#CC66CC; border-bottom:solid 2px #fff; } .a-check img { margin-left:11px; margin-right:10px; } .a-check:hover { background-color:#386; } .w-left img,.a-check img { vertical-align:middle; }
样式易修改,js简洁明了,注释全面,如果还有不懂的可以发e-mail:2292269685@qq.com