Skip to content

How to use different variants on different breakpoints? #265

Answered by joe-bell
ishaqibrahimbot asked this question in Q&A
Discussion options

You must be logged in to vote

At the moment I don't have any plans to add responsive variants (as it's a ton of complexity to build and maintain) so sadly you'll have to stick to showing/hiding like you're currently doing:
https://cva.style/docs/faqs#how-can-i-create-responsive-variants-like-stitchesjs

That being said, I do recommend checking out some breakpoint-free strategies for typography:
https://twitter.com/BHolmesDev/status/1751983540957577231

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ishaqibrahimbot
Comment options

Answer selected by ishaqibrahimbot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants