Proud of this little trick. If you've started using CSS gap decorations, you mig...
Patrick Brosset @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!
➡️ https://patrickbrosset.com/lab/container-query-gap-decoration/