Jump to content

[SOLVED] Looking for a kind of ON/OFF switch Inputfield for my GroupMailer module


Gadgetto
 Share

Recommended Posts

No, I've accidently overwritten this version. But the second version is not accessible via keyboard anyhow. 

Damn... and I did it again! Now the pen https://codepen.io/baumrock/pen/pGXWxO has no shadow any more. It's the same as the second version but with grey border on focus to see it both on checked and unchecked state.

Does codepen not save different versions like jsfiddle does when saving??

Link to comment
Share on other sites

27 minutes ago, bernhard said:

No, I've accidently overwritten this version. But the second version is not accessible via keyboard anyhow. 

Damn... and I did it again! Now the pen https://codepen.io/baumrock/pen/pGXWxO has no shadow any more. It's the same as the second version but with grey border on focus to see it both on checked and unchecked state.

Does codepen not save different versions like jsfiddle does when saving??

Doesn't work when implemented in my module: 

550485788_2019-02-2213-10-24.2019-02-2213_11_07.gif.62555381cfae64a403c47d47a4d53bbc.gif

Link to comment
Share on other sites

I like the grey background, but I'd prefer a dark grey border instead of the green one. In your case when the checkbox is checked it looks as if the button gets smaller because you use the background color as border color. That's also a little worse for accessibility than a dark grey I think.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...