- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Grayscale and Sepia</title>
<link href="course.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body>
<div class="image">
<img src="img/spb-4.jpg" alt="">
</div>
<div class="compare">
<div class="compare-left grayscale">
<div class="image">
<img src="img/spb-4.jpg" alt="">
</div>
</div>
<div class="compare-right sepia">
<div class="image">
<img src="img/spb-4.jpg" alt="">
</div>
</div>
</div>
</body>
</html>
CSS
.grayscale img {
}
.sepia img {
}
You’ve gone to a different page
Goalscompleted
0
- Apply the
grayscale(1)
filter to the image in the.grayscale
block, - and apply the
sepia(1)
filter to the image in the.sepia
block.
Comments