6+5 ways to make a two-column layout: from pretty reasonable to completely wrong — Vadim Makeev
Imagine you need to create a two-column layout. Yes, the simplest one: a column on the left, a column on the right, and some gap in-between. There’s an obvious modern solution for that:
.columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
October 4, 2022 at 2:11:54 PM EDT
*
FILLER