.tableau {
display: table;
}
.tableau div {
display: table-row;
}
.tableau div div {
display: table-cell;
}
<div class="tableau">
<div>
<div>Cellule 1</div>
<div>Cellule 2</div>
</div>
</div>
Display (CSS) | HTML |
---|---|
table | <table> |
table-row | <tr> |
table-cell | <td>, <th> |
table-row-group | <tbody> |
table-header-group | <thead> |
table-footer-group | <tfoot> |
table-column | <col> |
table-column-group | <colgroup> |
table-caption | <caption> |
70€ 50€ avec le code LASTMINUTE-SWMAKERS