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 trying to do something that feels a little complicated. I want to have leading values that are "fixed", so that I can create different scales for them at different font sizes. So for example, let's say I have this as the build output:
.leading-snug {
line-height:1.25rem;
}
However, for a larger text size I want to change what "snug" means:
However, if I was applying classes responsively, like xl:text-xl xl:leading-snug, I don't get the responsive prefixed output. Is there some way of achieving this kind of effect without a developer having to do things like create a parent/child relationship just for this?
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 trying to do something that feels a little complicated. I want to have leading values that are "fixed", so that I can create different scales for them at different font sizes. So for example, let's say I have this as the build output:
However, for a larger text size I want to change what "snug" means:
And here is an example config:
However, if I was applying classes responsively, like
xl:text-xl xl:leading-snug
, I don't get the responsive prefixed output. Is there some way of achieving this kind of effect without a developer having to do things like create a parent/child relationship just for this?Beta Was this translation helpful? Give feedback.
All reactions