* { margin:0; padding:0 } div { width:600px; margin:200px auto; padding:1rem; border:1px solid red; text-align:center } ul { list-style:none; width:100%; overflow:hidden; display:none } ul:first-of-type { display:block } ul li { width:20%; float:left; text-align:center; margin:.5rem 2.5%; padding:.5rem 0; border-radius:4px }
变变变 懂得越多 不会的也就越多