RE: What is universal selector?

What is universal selector?

Ria Modak Default Asked on June 3, 2018 in CSS.
Add Comment
1 Answers

CSS universal selectors select any type of elements in an HTML page.An asterisk ( “*” ) is used to define a CSS universal selector.


/* Selects all elements */

* {

color: red;

}

Default Answered on December 1, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.