引导指示灯未突出显示

时间:2018-10-15 12:43:10

标签: html5 bootstrap-4

我有两组引导程序指示器(第一组显示在中型屏幕上,第二组显示在中型屏幕以下的任何东西)。

我面临的问题是,第一组指标运行良好,并且每个指标都按预期突出显示。但是,在第二组上,指示器未突出显示,只有“活动”指示器显示为突出显示。

我完全不知所措,所以任何帮助将不胜感激,因为我根本没有更多的头发可以拉出来! :)

    <-- First Set -->
    <ol class="carousel-indicators">
      <li data-target="#myServicesCarousel" class="d-none d-md-block active" data-slide-to="0"><span class="caption">Design</span></li>
      <li data-target="#myServicesCarousel" data-slide-to="1" class="d-none d-md-block"><span class="caption">Development</span></li>
      <li data-target="#myServicesCarousel" data-slide-to="2" class="d-none d-md-block"><span class="caption">Apps</span></li>
      <li data-target="#myServicesCarousel" data-slide-to="3" class="d-none d-md-block"><span class="caption">SEO</span></li>
      <li data-target="#myServicesCarousel" data-slide-to="4" class="d-none d-md-block"><span class="caption">Care
          Plans</span></li>
    </ol>

    <-- Second Set -->
    <ol class="carousel-indicators">
      <li data-target="#myServicesCarousel" class="d-sm-block d-md-none active" data-slide-to="0"><span class="caption">01</span></li>
      <li data-target="#myServicesCarousel" data-slide-to="1" class="d-sm-block d-md-none"><span class="caption">02</span></li>
      <li data-target="#myServicesCarousel" data-slide-to="2" class="d-sm-block d-md-none"><span class="caption">03</span></li>
      <li data-target="#myServicesCarousel" data-slide-to="3" class="d-sm-block d-md-none"><span class="caption">04</span></li>
      <li data-target="#myServicesCarousel" data-slide-to="4" class="d-sm-block d-md-none"><span class="caption">05</span></li>
    </ol>

0 个答案:

没有答案