我只想在橙色层和
.Container
带有图像的 div,当层悬停时显示
橙色层不应上下颠簸 50px;
这是 fiddle http://jsfiddle.net/zHARN/58/
最佳答案
尝试为 FirstLevel 使用绝对位置。
CSS:
.FirstLevel
{
width: 150px;
height: 50px;
background-color: green;
position:absolute;
bottom: 0px;
display: none;
}
关于javascript - 当上面的某些图层悬停并具有位置偏移时,如何停止图层向下移动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9452505/