over 9 years ago
CSS selector is a part of CSS rule set which is actually selects the content of your page which you want to give style.
There are different kinds of selectors available.
Universal Selector: Apply CSS on all of the elements
Element Type Selector: Apply CSS on the particular attribute or element.
ID Selector: Apply css Corresponding to same ID
Class Selector: Apply CSS to those which have same Class
Descendant Combinator: Apply Css on those for which we have Combine two or more selectors so that we can be more specific in our selection method.
Child Combinator: Apply CSS to the child elements
General Sibling Combinator: Apply CSS based on Sibling elements
Adjacent Sibling Combinator: Apply CSS based on adjacent sibling elements
Attribute Selector: Apply CSS on those particular tag which have same attribute.
Pseudo-class: Apply CSS on the class which does exist in the js events.
0 Comment(s)