Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS Only Custom Checkbox in IE8

I found Custom CHECKBOX and RADIO from the link but could not find this working in IE8.

Is there any way we can use below properties working for IE8?

:after

:before

.big-radio:checked + label:after

Please let me know.

like image 718
Kushal J. Avatar asked Feb 01 '13 07:02

Kushal J.


1 Answers

ie8 doesn't support :checked. You can add class and rewrite rule like this:

.big-radio.checked + label:after

Or try something from this answer https://stackoverflow.com/a/11842991/928516

like image 199
slowkot Avatar answered Oct 09 '22 04:10

slowkot