How can you create a blur effect on an image using CSS?

  • background-color: blue;
  • border: 1px solid black;
  • filter: blur(5px);
  • opacity: 0.5;
To create a blur effect on an image using CSS, you can use the filter property with the blur function. For example, filter: blur(5px); would apply a blur effect to the image, where "5px" represents the level of blurriness. This can be adjusted to control the blur intensity.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *