-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS only floating Labels #222
Comments
Is this even foreseen in Material Design? |
As far as I can see, this approach doesn't work if there is no placeholder in the input. |
Yes..this library was just an example, to show how we can start. I meant to replace the current floating label with a css-only approach. |
Yeah, a CSS only solution would be great. I tried to find it some time ago, but no success. There's either a problem with |
I would suggest to do it with placeholder shown. |
implemented in v2-dev |
Hey I just discovered https://github.com/anydigital/float-label-css
We could implement this in V2, which solves maybe some of the JS-init issues.
Also needs then less code and also no re-initialization of some components and works with only CSS
What do you think?
The text was updated successfully, but these errors were encountered: