Please update the docs with examples that use px #8476
Replies: 3 comments
-
I totally like your gave limits as the post you passed on has some uncommon information which is totally essential for me. |
Beta Was this translation helpful? Give feedback.
-
It's in the docs https://tailwindcss.com/docs/adding-custom-styles#using-arbitrary-values |
Beta Was this translation helpful? Give feedback.
-
Hey! Our spacing scale uses We show the pixel equivalents (based on a 16px default font size) of the If you want to use pixel values instead, you have two options:
|
Beta Was this translation helpful? Give feedback.
-
It isn't clear for properties like 'width" on how to specify px values. All we can see on the docs is:
Please also refer to this Stack Overflow issue which answers this confusion:
https://stackoverflow.com/questions/65491795/how-can-i-specify-exactly-600px-width-in-tailwind-css
Beta Was this translation helpful? Give feedback.
All reactions