Reputation: 707
My customer wants an traffic light styled review form. Vertically alinged radio buttons, colored in green, yellow and red.
I could get the alignment done, but fail at styling the buttons.
Upvotes: 0
Views: 767
Reputation: 352
Radio buttons are only circles. You can not change their color using css but you can create an image like a radio button with the color you want and using javascript and a hidden input make it acts as a radio button.
Upvotes: 1
Reputation: 21050
Radio buttons etc are notoriously difficult to style in CSS. Javascript based solutions are usually the preferred method if you really have to style them.
http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/
Upvotes: 0