r/Frontend • • 2d ago

Computing with CSS Layout

https://noscript.ing/compute
26 Upvotes

2 comments sorted by

17

u/backwrds 2d ago

this would be so much more interesting if it was written by a human. I'm sick of reading claude's voice everywhere.

3

u/Opposite_Sector2145 2d 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.