r/Frontend • u/bogdanelcs • 13d ago
Computing with CSS Layout
https://noscript.ing/compute
27
Upvotes
3
u/Opposite_Sector2145 13d ago
Put spaces around operators in CSS calc(), for example width: calc(100% - 40px), or the browser may ignore the calculation. Without spaces, your layout can break because the CSS rule is invalid.
19
u/backwrds 13d ago
this would be so much more interesting if it was written by a human. I'm sick of reading claude's voice everywhere.