我可以知道如何解决这个问题吗?它是html和css文件。
图像位于html和css内,它们按滑块的规则运行。
我在CSS上做了max-width:100%
。拇指img
在移动设备和台式机设备上的响应都很好,但是滑块预览重复的图像相同,并且没有响应。
css文件:
#sliderFrame{
max-width:100%; /*the tumb img and frame get responsive perfectly */
margin:0 auto; /*center-aligned*/
margin-left:50px;
margin-right:50px;
padding:20px;
background:#191919;
border:2px solid #999;
border-radius:6px;
#slider, #slider div.sliderInner {
max-width:100%;height:640px;} /* when i set to 100% the slide display the image repeating */