- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Combination of Filters</title>
<link href="course.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body>
<div class="image">
<img src="img/spb-6.jpg" alt="">
</div>
<div class="compare">
<div class="compare-left multi-filter-1">
<div class="image">
<img src="img/spb-6.jpg" alt="">
</div>
</div>
<div class="compare-right multi-filter-2">
<div class="image">
<img src="img/spb-6.jpg" alt="">
</div>
</div>
</div>
</body>
</html>
CSS
.multi-filter-1 img {
}
.multi-filter-2 img {
}
You’ve gone to a different page
Goalscompleted
0
- Apply the filter
hue-rotate (90deg)
to the image in the.multi-filter-1
block, - then add the second filter
saturate(2)
, - and finally apply the third filter
sepia (0.8)
. - Apply a combination of three filters in the following order to the image in the
.multi-filter-2
block:sepia(0.8)
,hue-rotate(90deg)
, andsaturate(2)
.
Comments