Proud of this little trick. If you've started using CSS gap decorations, you mig...

@patrickbrosset@mas.to

Proud of this little trick. If you've started using CSS gap decorations, you might know you can inset the lines by some amount. Well, if you also use a CSS size container, you can inset the lines by, say, calc(50cqi - 2px) to get a 4px wide line!

➡️ patrickbrosset.com/lab/contain