What is universal selector?

What is universal selector?

Default Asked on June 3, 2018 in CSS.
Add Comment
1 Answer(s)

    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.