【CSS】table-cellの使い方

親要素に display: table; を指定します。
子要素に display: table-cell; を指定します。
親要素に table-layout: fixed; を指定するとテーブルの列幅が均等になります。

See the Pen rxVmJQ by codebox (@codebox) on CodePen.


See the Pen rxVmJQ by codebox (@codebox) on CodePen.


See the Pen rxVmJQ by codebox (@codebox) on CodePen.