You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making an HTML & CSS-based game which uses tailwind for layouting. In my css file, I have @theme { --spacing: var(--scale); } so that I can change the scale of all of the elements on the page easily. Unfortunately, the border-n utilities don't seem to inherit from this spacing scale. Is there a way to customize what they mean so they also use --spacing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm making an HTML & CSS-based game which uses tailwind for layouting. In my css file, I have
@theme { --spacing: var(--scale); }
so that I can change the scale of all of the elements on the page easily. Unfortunately, theborder-n
utilities don't seem to inherit from this spacing scale. Is there a way to customize what they mean so they also use--spacing
?Beta Was this translation helpful? Give feedback.
All reactions