The background

Report a typo

In this topic we've analyzed the code which allows us to apply filter only to the background image. In this task you've already got the code, but there are two things you need to change:

  1. Make it work with ::after instead of ::before
  2. There is a missing line of code somewhere in CSS and its absence ruins everything. Add the missing property to the right place to make it look as intended.
Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The background</title>
</head>
<body>
<div class="container">
<div class="container_inside">
<p>Any fool can write code that a computer can understand. Good programmers write code that humans can
understand.</p>
<p class="small">Martin Fowler</p>
</div>
</div>
</body>
</html>

Completed 0 of 2
Works with ::after
Missing property found and replaced
___

Create a free account to access the full topic