.table-cell:nth-child(1) {background: wheat} .table-cell:nth-child(2) {background: blue} .table-cell:nth-child(3) {background: red} @media (min-width: 40em) { .table { display: table; border-spacing: 0.5em; } .table-row {display: table-row; } .table-cell {display: table-cell; } }
Vorlage:Styles-test.css
Aus Securepoint Wiki