Swiper.js slider高度不能适应怎么解决?
1个回答
展开全部
操作如猜耐下:
1,首先引入核心文件js,以及自带的默认css样巧键式表
<link rel="stylesheet" href="../dist/idangerous.swiper.css" rel="external nofollow" ><script defer src="../dist/idangerous.swiper.min.js"></script>
2,HTML结构以及插件初始化配置,输入以下代码:
<div class="device"穗宽春>
<a class="arrow-left" href="#" rel="external nofollow" rel="external nofollow" ></a>
<a class="arrow-right" href="#" rel="external nofollow" rel="external nofollow" ></a>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询