Я работаю над Bootstrap каруселью с индивидуальной разбивкой на страницы. Я заменил точки нумерации страниц изображениями.
Моя проблема в том, что моя карусель получила 12 элементов, а значит, 12 элементов списка. Я хочу, чтобы список отображал только 6 одновременно, а затем сдвигался, чтобы отобразить элементы списка.
(я удалил некоторые элементы из своего списка, чтобы иметь возможность публиковать)
Как можно Я сделаю это, пожалуйста?
<html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> </head> <body> <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"><img src="https://elyssa.co/wp-content/uploads/2020/06/Fair-logo-Elyssa-back.svg" height="60px"></li> <li data-target="#carousel-example-generic" data-slide-to="1"><img src="https://elyssa.co/wp-content/uploads/2020/06/Fair-logo-Elyssa-back.svg" height="60px"></li> <li data-target="#carousel-example-generic" data-slide-to="2"><img src="https://elyssa.co/wp-content/uploads/2020/06/Fair-logo-Elyssa-back.svg" height="60px"></li> <li data-target="#carousel-example-generic" data-slide-to="3"><img src="https://elyssa.co/wp-content/uploads/2020/06/Fair-logo-Elyssa-back.svg" height="60px"></li> <li data-target="#carousel-example-generic" data-slide-to="4"><img src="https://elyssa.co/wp-content/uploads/2020/06/Fair-logo-Elyssa-back.svg" height="60px"></li> <li data-target="#carousel-example-generic" data-slide-to="5"><img src="https://elyssa.co/wp-content/uploads/2020/06/Fair-logo-Elyssa-back.svg" height="60px"></li> <li data-target="#carousel-example-generic" data-slide-to="6"><img src="https://elyssa.co/wp-content/uploads/2020/06/Fair-logo-Elyssa-back.svg" height="60px"></li> <li data-target="#carousel-example-generic" data-slide-to="7"><img src="https://elyssa.co/wp-content/uploads/2020/06/Fair-logo-Elyssa-back.svg" height="60px"></li> </ol> <!-- Wrapper for slides --> <div class="carousel-inner" role="listbox"> <div class="item active"> <div class="description-tilte">Captacion de inmuebles</div> <div class="description"><p>Previa </p></div> </div> <div class="item"> <div class="description-tilte">Proceso de alquiler</div> <div class="description">Con base </div> </div> <div class="item"> <div class="description-tilte">Contabilidad y pagos</div> <div class="description">La factura </p> <strong>Pagos a propietarios</strong> <p> traves del m</p></div> </div> <div class="item"> <div class="description-tilte">Administracion de Inmuebles</div> <div class="description"><p>Cada inmueble, </p></div> </div> <div class="item"> <div class="description-tilte">Servicios Publico</div> <div class="description"><p>Dependiendo de la </p></div> </div> <div class="item"> <div class="description-tilte">Chat interno</div> <div class="description"><p>Es un servicio de </p></div> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="color: black; text-shadow: none;"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-menu-right" aria-hidden="true" style="color: black; text-shadow: none;"></span> <span class="sr-only">Next</span> </a> </div> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> </body> </html>```