<table>
<tr>
<th>Стратегии</th>
<td>Warcraft 3: The Frozen Throne</td>
<td>Fallout: New Vegas</td>
<td>StarCraft 2: Wings of Liberty</td>
<td>XCOM: Enemy Unknown</td>
</tr>
</table>
table tr > *{
border-bottom: 1px #e2e2e2 solid;
line-height: 2;
}
const th = document.querySelector('th');
const tr = document.querySelector('tr');
th.style.textAlign = 'left';
tr.style.display = 'flex';
tr.style.flexDirection = 'column';
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.