Make content or containers black and white in CSS

Make content or containers black and white in CSS

Here is how to make content or containers black and white in CSS

10/25/21

Snippets, CSS, Styling, Colors

Quick Summary

Here is how to make content or containers black and white in CSS, using the filter property.

.black-and-white {
  filter: grayscale(1);
  --webkit-filter: grayscale(1);
}

Author : Maye Edwin

Return to home page