Swiper中文论坛
标题:
Swiper怎么才能放到div中呢?
[打印本页]
作者:
optimismyx
时间:
2015-9-30 10:40
标题:
Swiper怎么才能放到div中呢?
<div class="swiper-container" style="width: 90%;height: 80%">
<div class="swiper-wrapper">
<div class="swiper-slide" style="margin: 0px">1</div>
<div class="swiper-slide" style="margin: 0px">1</div>
<div class="swiper-slide" style="margin: 0px">1</div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
<!-- Add Navigation -->
<div class="swiper-button-prev" ></div>
<div class="swiper-button-next" ></div>
<div class="swiper-scrollbar"></div>
</div>
我想把这段代码放在某个div中,因为页面布局需要。但是一放进去 swiper就显示的乱七八糟的
作者:
alicss.com
时间:
2015-10-17 10:06
无语。。。布局乱跟swiper 无关,而是你的CSS 和框架什么的写的不对
欢迎光临 Swiper中文论坛 (http://bbs.swiper.com.cn/)
Powered by Discuz! X3.2