invert()
Term side of the Card
Topic: Background
Unit title: invert()
Categories: Function
Explanation side of the Card
Explanation: The function used as a value for the `filter` property to invert the colors of an element. The value ranges from '0' (no effect) to '1' (full inversion), turning light colors dark and dark colors light, useful for creating negative images or high-contrast effects.
Browser compatibility:
- The chrome browser supports this feature starting from version 18
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 35
- The safari browser supports this feature starting from version 6
Availability: