Select All Elements Quickly in CSS

Friday Jan 11th 2019 by Srinath MS
Article Image

Language: Web, Expertise: Intermediate - Learn how to select all elements of a particular selector quickly in CSS.

Use the asterisk (*) symbol as a prefix to select all elements of a selector object and then write your CSS styles on top of it. For example:

*div would select all div elements in the HTML document. 
Mobile Site | Full Site