table要素で縦に要素を並べる時はthとtdをdisplay: blockに。
表に戻す時はdisplay: table-cellにする。
th, td { display: block; } @media-(min-width: 768px) { th,td { display: table-cell; } }
table要素で縦に要素を並べる時はthとtdをdisplay: blockに。
表に戻す時はdisplay: table-cellにする。
th, td { display: block; } @media-(min-width: 768px) { th,td { display: table-cell; } }
コメント