Skip to content
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

Input type text #131

Open
tphat98 opened this issue Apr 26, 2018 · 1 comment
Open

Input type text #131

tphat98 opened this issue Apr 26, 2018 · 1 comment

Comments

@tphat98
Copy link

tphat98 commented Apr 26, 2018

Hello,
Great project, pls help me how to add style to input?
https://jsfiddle.net/xofbbfd8/
Thanks.

@netaisllc
Copy link

That is actually a little bit of a challenge b/c of how Hover is implemented.

For example, Hover's "underline" border transitions don't actually use a CSS border property. (They use a pseudo element instead, which kind of acts like a div.) That said, if your use case allows, a workaround is possible.

Here is a pen that shows show to achieve the UnderlineFromLeft effect on a plain input:

https://codepen.io/CSSian/pen/QZQRZP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants