【问题标题】:Bootstrap Carousel Controls SizingBootstrap Carousel 控制大小
【发布时间】:2018-08-02 15:23:14
【问题描述】:

如何使用 CSS 自定义引导轮播中控件的大小?我目前正在使用 Bootsrap 4。我已经尝试过,但这只会移动它。

.carousel-contol-prev {
    height: 26%;
    top: 33%;    
    width: 200px;
}

【问题讨论】:

    标签: css bootstrap-carousel


    【解决方案1】:
    carousel-control-next-icon, .carousel-control-prev-icon {
        display: inline-block;
        background: transparent no-repeat center center;
        background-size: 100% 100%;
        height: 100px !important;
        width: 100px !important;
    }
    

    您可以根据需要更改高度和宽度。一件事轮播控制器是图像引导程序4中的字体

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-06-11
      • 2017-01-27
      • 1970-01-01
      • 1970-01-01
      • 2017-05-01
      • 2020-07-05
      • 2015-09-07
      相关资源
      最近更新 更多