Question from the Tailwind test

Define the width of an element to 267px in Tailwind CSS

Easy

Let's say I need to define the width of an element to 257px, how can I do it, knowing that it is not a width offered by default by Tailwind?

Author: Yohann BianchiStatus: Published(Update)Question passed 13 times
Edit
1
Community Evaluations
developer avatar
Other
Yohann Bianchi
27/02/2024
Utiliser w-64 peut-être une solution viable dans certains cas. En tout cas la question d'utiliser une valeur custom ou de s'aligner sur le design system mérite de se poser. Sinon ça ne sert à rien d'utiliser un design system