z-index inside z-index
You can do this, but only if the parent doesn't have a
position: relative or absolute property on it.
So if you remove the position: absolute from the
first div, it'll work as expected.
z-index inside z-index
You can do this, but only if the parent doesn't have a
position: relative or absolute property on it.
So if you remove the position: absolute from the
first div, it'll work as expected.
css z-index
#nav {
position: fixed;
...
z-index: 2;
}
#main {
position: absolute;
...
z-index: 1;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us