CSS Pseudo-class :default

This selector selects the default selection in a group of associated elements. An example is the radio-button in a radio-button-group which is selected by default. Even if the user selects an other value, the styles for the default value won't change.

Examples

Compatibility

Chrome Firefox Internet Explorer Opera Safari
10+ 4+ None 10+ 5+




Comment