Skip to content
All Challenges
#70

CSS Filter Invert

Medium
Category: Colors

Invert the colors of .invert-target completely using filter: invert(1).

Target HTML in preview:
<div class="invert-target" style="background: black; color: white; padding: 12px;">Inverted Content</div>
Verification Criteria:
Set filter: invert(1) or invert(100%)
styles.css
Live Evaluation
Loading...
|
Live Browser Output
Sandboxed Preview