Why is it called a pseudo-class?What are the different types of transition properties in CSS?What are gradients in CSS ?

Why is it called a pseudo-class?What are the different types of transition properties in CSS?What are gradients in CSS ?

  1. Why is it called a pseudo-class?

Ans:- It is called as a pseudo-class because it selects the elements that are in a specific state and the state may be hover,focus and active etc.

  1. What are the different types of transition properties in CSS?

Ans:- transition: width 2s;

      **transition-delay:** 3s;          **transition-duration:** 2s;

      **transition-property:** width;          **transition-timing-function:** ease-in;
  1. What are gradients in CSS ?

Ans:-CSS gradients help to display smooth transitions between two or more specified colours.

It is of three types.

  1. Linear Gradients: It goes down/up/left/right/diagonally.

  2. Radial Gradients: It is defined by their centre.

  3. Conic Gradients: It is rotated around a centre point.