CSS图库没有响应

时间:2014-10-26 12:39:11

标签: css

我的CSS图库规格与我的HTML5不对应。图像不跟随悬停标记,它们显示在其他所有内容之上。它不会保持固定,但当我将定位更改为fixed时,它会一起消失。 CSS检查器状态验证所有罚款。我无法在页面上找到我想要的位置。任何帮助,将不胜感激。提前致谢

CSS代码

#gallery {

bottom: -20px;
padding-right: 50px; 
display: inline;
top: 200px;
z-index: 99999999;
}

#gallery ul {
list-style-type: none;
padding: 20px;
text-align: center;
position: fixed;


}

#gallery li {
display: inline;
padding-right: 20px;

}

#gallery img {
padding: 5px 5px 40px 5px;
background: white;
box-shadow: 4px 4px 8px -4px #000000;
-webkit-box-shadow: 4px 4px 8px -4px #000000;
-mox-box-shadow:4px 4px 8px -4px #000000;
}


#gallery:hover {


-webkit-transform:scale(5%);
-o-transform:scale(5%);
-moz-transform:scale(5%);
-ms-transform: scale(5%);
transform: scale(5%);

transition: 0.5s ease-in-out;
-webkit-transition:0.5s ease-in-out;
-o-transition:0.5s ease-in-out;
-mox-transition:0.5s ease-in-out;
-ms-transition: 0.5s ease-in-out;
}

0 个答案:

没有答案
相关问题