Answer the question
In order to leave comments, you need to log in
Body:hover and z-index of two blocks?
<body class="body">
<div class="banner_holder">
<div class="blc1"></div>
<div class="blc2"></div>
</div>
</body>
Answer the question
In order to leave comments, you need to log in
What's the problem?
.blc1 {
z-index: 2;
}
.blc2 {
z-index: 1;
}
.body:hover .blc1 {
z-index: 1;
}
.body:hover .blc2 {
z-index: 2;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question