Add word-spacing as a tailwind class just like letter-spacing #18489
SUBMSRMA143
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
You can use By the way, you can declare your own utility - with the v4 functional utility, it would look like this: @theme {
--word-tracking-tighter: -0.2em;
--word-tracking-tight: -0.1em;
--word-tracking-normal: 0em;
--word-tracking-wide: 0.1em;
--word-tracking-wider: 0.2em;
--word-tracking-widest: 0.3em;
}
@utility word-tracking-* {
word-spacing: --value(--word-tracking-*, [*]);
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Add word-spacing as a tailwind class just like letter-spacing, sometimes we need to increase or decrease the spcaing between words themselves and why do i need to use external or inline css for that purpose only, pls consider adding word-spacing as a tailwindCSS class
Beta Was this translation helpful? Give feedback.
All reactions