如何将bootstrap轮播控件定位到最右侧和最左侧? [英] How to position the bootstrap carousel controls to the extreme right and extreme left?

查看:1279
本文介绍了如何将bootstrap轮播控件定位到最右侧和最左侧?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个图像滑块,我希望左右控件分别位于最右侧和最左侧。它应适用于所有宽度。

I have an image slider and I want the right and left controls to be positioned to the extreme right and extreme left respectively. and it should work for all widths.

这可能吗?

推荐答案

你可以更新元素风格

.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
  right: 0;  //or you can increase this
}

.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
  left: 0; //or you can increase this
}

这篇关于如何将bootstrap轮播控件定位到最右侧和最左侧?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆