4 ms·
This is the one pro-tailwind argument I can agree with. Sometimes I’ll use their shorthand md: & sm: in @apply in place of media queries. The advantage is tha
by FractalHQ 5y ago
This is the one pro-tailwind argument I can agree with. Sometimes I’ll use their shorthand md: & sm: in @apply in place of media queries. The advantage is that they remain local to their relevant selectors.
Makes me think- all I would really want is to be able to have multiple values in css. Maybe something like .
.card {
width: 5rem md: 10rem;
}
Snap… am I on to something?
- Nullabillity 5y agoSass/Scss let you nest media queries inside of selectors years ago.