DEV Community

loading...

Discussion on: Pure CSS Custom Styled Radio Buttons

Collapse
alvaromontoro profile image
Alvaro Montoro

Notice that with the default printing settings, backgrounds are removed. If a user prints a page with these radio buttons, they won't be able to know which one was checked. (Inset) Box-shadows are not removed at printing, and they will a similar effect to the radial background.

Collapse
5t3ph profile image
Stephanie Eckles Author

Good tip, it's easy to forget about the scenario of a page being printed!

Collapse
5t3ph profile image
Stephanie Eckles Author

Updated with an alternate option that swaps to use of box-shadow - thanks again!

Forem Open with the Forem app