Radio buttons customized using CSS
Radio buttons are form elements that allow the user to select a single option out of a group of possible options.
Radio buttons are “customized using CSS” when they are not built using the standard HTML code for radio buttons as found in the specification
<input type="radio" /> but the standard radio buttons are visually hidden and replaced with CSS images, icon fonts, or specific styles.
There are several ways of achieving this. The example below shows how to simulate radio buttons using CSS pseudo-elements and background images, while retaining their accessibility.
Core HTML base