filter: invert();
Browser |
|
---|---|
Type |
|
The invert filter invert the color and brightness.
#example {
filter: invert();
}
Example
<img src="image/friend.gif" alt="IMG" width="170" height="140">
- Output
-
<div style="font: bold 170% sans-serif; width: 100%;">
Example text
</div>
- Output
-
Example text
<img src="image/friend.gif" alt="IMG" width="170" height="140" style="filter: invert();">
- Output
-
<div style="font: bold 170% sans-serif; width: 100%; filter: invert();">
Example text
</div>
- Output
-
Example text