Ken*_*son 4 javascript css jquery slider
我有“光滑的滑块”工作,它是响应式的,但滑块下方有一个巨大的空间。
该空间似乎是由“.slick-list”类引起的。我将“.slick-list”设为红色,以便它可以轻松显示。
无论我做什么,我都无法让那个空间消失。
此元素上没有填充,没有边距,没有边框......
有小费吗?
页面测试页面在这里: 滑块测试页面
需要使用 !important 覆盖 style.css 设置的样式元素
.image{
background-repeat:no-repeat;
background-position: none; <-- currently the value is center center.
background-size:100%;
height:0;width:100%;
padding-bottom:50%;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5050 次 |
| 最近记录: |