Answer the question
In order to leave comments, you need to log in
Z-index - how to hide a child element behind the parent?
It's night outside, my head is breaking
a
simple task, which, it seems, I encounter on a daily
basis. the code looks like this:
<header> <!-- мамка -->
<div id="header">
<nav>
<ul>
<li>
<ul> <!-- чадо -->
<header> <!-- мамка - position:fixed; bg-color: white -->
<li>
<ul> <!-- чадо - position:absolute -->
<li>
? Answer the question
In order to leave comments, you need to log in
ul {
background-color: inherit;
}
codepen.io/corvus-007/pen/EVGJxm?editors=110
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question