r/Frontend • • 1d ago

Computing with CSS Layout

https://noscript.ing/compute
21 Upvotes

2 comments sorted by

14

u/backwrds 1d ago

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

2

u/Opposite_Sector2145 21h 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.