- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Shadow, drop-shadow</title>
    <link href="course.css" rel="stylesheet">
    <link href="style.css" rel="stylesheet">
  </head>
  <body>
    <div class="compare">
      <div class="compare-left shadow-1">
        <div class="image">
          <img src="img/spb-3.jpg" alt="">
        </div>
      </div>
      <div class="compare-right shadow-2">
        <div class="image">
          <img src="img/spb-6.jpg" alt="">
        </div>
      </div>
    </div>
  </body>
</html>
CSS
.shadow-1 {
}
.shadow-2 {
}
You’ve gone to a different page
Goalscompleted
0
- For the .shadow-1block, apply thedrop-shadowfilter with a value of15px 15px 15px black,
- and apply the drop-shadow(0px 0px 20px red)value to the.shadow-2block.
Comments