d
Amit DhamuSoftware Engineer
 

Invert Images

1 minute read 00000 views

You can invert an image with the css filter property.

img {
  filter: invert(1);
}

The above will also work for SVGs.