Universal Selectors

The Universal Selector selects every single thing defined in the HTML. This includes classes, ids, and other type selectors.

The universal selector is an asterisk (*) followed by the CSS to define everything.

Example :

* {
    background:#ff00ff;
}
/* make the background color of everything an ugly shade of pink like it is here*/
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License