Introducing CSS and CSS Selectors

Introducing CSS and CSS Selectors

CSS enables the designing of a specific layout, color, and font. This specification can improve content accessibility; flexibility and control in the specification of presentation quality.

CSS Selectors

CSS selectors are used for selecting the particular HTML elements and then to which a set of CSS rules can be applied.

Types of Selectors

Basic Selector

  • Universal Selector

  • Element Selector

  • Class Selector

  • ID Selector

https://codepen.io/banwatyashsvi/pen/wvxWyJJ

Grouping Selector -Selector List

The (",") selector is a grouping mechanism that picks up several selections and can simultaneously give them properties.

https://codepen.io/banwatyashsvi/pen/gOjRXvV

Combinators

Pseudo Selector