Replies: 1 comment 1 reply
-
Hey! The spacing scale was originally designed as a 4px scale, where every Originally we expected |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Tailwind team and community 👋,
I'm a huge fan of Tailwind CSS for its incredible power and efficiency!
However, I stumbled across something interesting about the default width utility values, which at first glance seem non-intuitive. For example,
w-96
, which translates to24rem
, caught my attention.I suspect there may be some design wisdom or practical reasons behind this. 🤔 I'm eager to get to the bottom of it, but I have this question: Wouldn't it be more intuitive for newcomers(and also people with experience like me) if the values were directly equivalent (e.g.
w-20
for20rem
)?The current default values seem very random and against common sense for developers.
Any insight would be greatly appreciated! 🙏 Thanks for creating such a fantastic tool with Tailwind CSS!
Beta Was this translation helpful? Give feedback.
All reactions