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

Is it possible to style the FOCUS state. #14

Open
grilly86 opened this issue Sep 23, 2016 · 3 comments
Open

Is it possible to style the FOCUS state. #14

grilly86 opened this issue Sep 23, 2016 · 3 comments

Comments

@grilly86
Copy link

grilly86 commented Sep 23, 2016

Hello, I'm using ezMark in some projects for some time now and it works great!

For accessibility reasons I also wanted to style the focus state of the input.
But sadly I cannot see a class like "ez-focus" being applied to the element when the input is focussed.

As there is no such thing as a parent selector in CSS, which allows me to style the element depending on the input state I see no way to styling it. :\

Is there a way I could do that?

@dgilperez
Copy link

I see this is ancient old, but did you find a solution for this? Thanks!

@grilly86
Copy link
Author

grilly86 commented Mar 4, 2020

sadly, no.
i have mostly switched to style the checkboxes and radios with CSS directly, which does now work in most browsers. so there's no real need for this plugin any longer

You can see many examples on codepen:
https://codepen.io/search/pens?q=css+only+checkbox
https://codepen.io/search/pens?q=css+only+radio

@dgilperez
Copy link

dgilperez commented Mar 4, 2020 via email

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