CSS Filters

 CSS Filters


CSS filters allow you to apply visual effects to elements. Some commonly used filters include:

Grayscale: Converts an element to grayscale. For example:



.image {

  filter: grayscale(100%);

}

Blur: Applies a blur effect to an element. For example:



.background {

  filter: blur(5px);

}

Brightness: Adjusts the brightness of an element. For example:



.video {

  filter: brightness(150%);

}

No comments:

Post a Comment

The Importance of Cybersecurity in the Digital Age

 The Importance of Cybersecurity in the Digital Age Introduction: In today's digital age, where technology is deeply intertwined with ev...