Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
leviathan
· 5y ago · 0 comments
except that w-24 is not 24px. It's 24 units of whatever your design grid says, so now you can use a design language to describe your layouts instead of absolute dimensions
Comments
[–]
Vinnl
5y ago
And for more information on why "24" there isn't just an arbitrary magic number like it was in the original inline style:
https://styled-system.com/guides/why-powers-of-two/