[v4] passing variables to predefined variables #17927
Answered
by
wongjn
TheMikeyRoss
asked this question in
Help
Replies: 1 comment
-
@utility rounded-inner-* {
property: calc(var(--radius) - --value([length]));
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
TheMikeyRoss
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.
-
I want to have a custom class
rounded-inner-[10px]
where the 10px is the padding. and the returned value is:var(--radius) - 10px
How can I achieve that? I can't figure out how to let my custom class name accept arbitrary values for the padding.
Beta Was this translation helpful? Give feedback.
All reactions