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: