- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Invert and Saturate</title>
<link href="course.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body>
<div class="image">
<img src="img/spb-2.jpg" alt="">
</div>
<div class="compare">
<div class="compare-left invert">
<div class="image">
<img src="img/spb-2.jpg" alt="">
</div>
</div>
<div class="compare-right saturate">
<div class="image">
<img src="img/spb-2.jpg" alt="">
</div>
</div>
</div>
</body>
</html>
CSS
.invert img {
}
.saturate img {
}
You’ve gone to a different page
Goalscompleted
0
- Assign the
invert
filter with the value0.3
to the image in the.invert
block, - then change the inversion value to
1
, - and apply the
saturate
filter with the value5
to the image in the.saturate
block.
Comments