我想画心:
使用HTML表的nth-child属性,但无法弄清楚如何做到:Codepen
table tr td:nth-child(n+3):nth-child(-n+7) { background-color: red; }
html css css-tables css-shapes
css ×1
css-shapes ×1
css-tables ×1
html ×1