Learn Intermediate CSS by Building a Picasso Painting - Step 10

I’ve tried -1%, -1px for the Z-index. I’ve tried
#back-wall {
z-index: -1;
}

.back-wall {
z-index: -1;
}

back-wall {
z-index: -1;
}
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Picasso Painting</title>
    <link rel="stylesheet" href="./styles.css" />
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  </head>
  <body>
    <div id="back-wall"></div>
  </body>
</html>
/* file: styles.css */
body {
  background-color: rgb(184, 132, 46);
}

#back-wall {
  background-color: #8B4513;
  width: 100%;
  height: 60%;
  position: absolute;
  top: 0;
  left: 0;

/* User Editable Region */

#back-wall {
  z-index: -1;
}

/* User Editable Region */

}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

Challenge: Learn Intermediate CSS by Building a Picasso Painting - Step 10

Link to the challenge:

It is due to the #back-wall id already being created. It is looking to add z-index: -1; in the original #back-wall element.

1 Like

Lol That makes sense. Thank you!

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.