var owl = $('.owl-carousel');
owl.owlCarousel({
margin: 0,
loop: true,
items: 4,
navText: '',
autoplayTimeout: 6000,
autoplaySpeed: 1000,
navSpeed: 1000,
dotsSpeed: 1000,
autoplayHoverPause: true,
mouseDrag: true,
nav: true,
});
.slide {
width: 240px;
min-height: 350px;
max-height: 350px;
height: 350px;
}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.0/css/bulma.css">
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.js"></script>
<div class="container">
<div class="owl-carousel owl-theme">
<div class="slide" style="background-color: black;"> Your Content </div>
<div class="slide" style="background-color: red;"> Your Content </div>
<div class="slide" style=" background-color: green;"> Your Content </div>
<div class="slide" style=" background-color: blue;"> Your Content </div>
<div class="slide" style=" background-color: purple;"> Your Content </div>
<div class="slide" style="background-color: orange;"> Your Content </div>
<div class="slide" style="background-color: darkcyan;"> Your Content </div>
<div class="slide" style="background-color: darkblue;"> Your Content </div>
</div>