[beta] challenge html/css output not visible until code is run
See original GitHub issueChallenge change-the-position-of-overlapping-elements-with-the-zindex-property has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
The content from the previous exercise is shown but not the content from the current exercise. The content only reveals itself when the challenge is completed.
<style>
div {
width: 60%;
height:200px;
margin-top: 20px;
}
.first {
background-color: red;
position: absolute;
z-index: 2;
}
.second {
background-color: blue;
position: absolute;
left: 40px;
top: 50px;
z-index: 1;
}
</style>
<div class="first"></div>
<div class="second"></div>
```
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Handling common HTML and CSS problems - MDN Web Docs
Note: One common problem with CSS and HTML arises when different CSS rules begin to conflict with one another. This can be especially ......
Read more >Create Your First Local HTML/CSS Project - Codecademy
In this article, we'll cover how to take the CSS skills you've learned on Codecademy and use them to create a basic web...
Read more >Selecting content on a web page with CSS selectors
Explain how to run CSS Selector queries in a browser. Introduce the CSS Selector syntax. Use the CSS Selector syntax to select elements...
Read more >14 Best HTML & CSS Code Editors for 2022 - HubSpot Blog
Want to write clean code faster? An HTML and CSS code editor can help. Discover the perks of having a code editor and...
Read more >The 3 biggest misconceptions of no-code - Webflow
Here, you start off with content like Intro to HTML & CSS, and there's a heavy emphasis on how code works behind the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually, this was reported in #12807, please see that issue, closing this as duplicate
@no-stack-dub-sack after re-reading your earlier posts
“@tommygebru When you loaded the challenge, could you see the rectangles in the smartphone element before you adjusted the z-index?”
In short, no.