Restricting two (or more) columns of a CSS grid layout to exactly one specific width
I have a CSS grid layout with a specific template for the columns, for example: .layout { display: grid; grid-template-columns: [t1] 40% [t2] 20% [o1] 1fr [o2] 1fr; grid-template-rows: 1fr 1fr; } .layout > div { border: 1px solid #000;…