automatically between label and floating label #4057
-
|
How can I switch automatically between label and floating label dependent on the display width. Both have the same html structure but need different css class set. It this is possible in a css only way? |
Beta Was this translation helpful? Give feedback.
Answered by
saadeghi
Aug 15, 2025
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LuckyTurtleDev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes: https://play.tailwindcss.com/20k7DImWSL?size=652x442