go to  ForumEasy.com   
CSS + jQuery
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Universal Selector
 
Subject: Universal Selector
Author: CyberSpider
In response to: CSS Selectors
Posted on: 04/10/2016 10:08:26 PM

The universal selector (*) is to target everyone or all HTML elements.

  * {
        color: red;
        text-align: center;
  }


Try it yourself in sandbox »


 

> On 04/10/2016 09:53:57 PM CyberSpider wrote:

CSS selectors are used to pin-point the target HTML elements. Here are several way to do that:
  • by wildcard '*';
  • by element;
  • by class;
  • by identifier;
  • by attribute;
  • by pseudo-class;
  • by at-rule query.





    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.