HTML5 and CSS3 is advance level client side programming (we cant get away with it). CSS3 has opened up all new horizon for UI Designer Today We want to show one small but effective feature of CSS3, which will help you to design Web Applications as well as Mobile Application.
CSS3 and Checkbox Checked Styling
If you want to put a different style or customised style on Checkbox checked item or Radio Button Selected Item previously you had to do it by JavaScript but now you can do it by CSS3 J .
input[type=”checkbox”]:checked { YOUR STYLE}
This Pseudo selector :checked will help you to put whatever CSS you want to apply when Checkbox is checked.
It can be done for Radio Button as well by same pesuedo selector using input type = radio
input[type=”radio“]:checked {}
I hope these little styling tips will help you to do better Website Design.