Здесь я использую bootstrap 5 и пытаюсь всеми возможными способами, поэтому я отправляю свой HTML-код, а также свой код начальной загрузки. Если внутри поля больше текста или раздела, чем он теряет свое поведение, это означает, что все поле должно иметь высоту 100%
ССЫЛКИ, которые я использую
< link rel="stylesheet" href="owl.carousel.css">
`

Bonus Blitz Casinocdcdcd cdcdcdcdcd Bonus Blitz Casinocdcdcd cdcdcdcdcd Bonus Blitz Casinocdcdcd cdcdcdcdcd Bonus Blitz Casinocdcdcd cdcdcdcdcd
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY

Bonus Blitz Casino
4.6/10VISIT
T&C APPLY
`
CSS
body{
margin: 0;
padding: 0;
background: #e6e6e6 !important;
outline: none;
overflow-x: hidden !important;
text-align: justify;
}
img{
width: 100%;
}
.fonthead{
font-size: 16px;
color: #4a4a4a;
}
.head2font{
font-size: 16px;
font-weight: 400;
color: #4a4a4a;
}
.headingfont{
font-size: 1.4rem;
color: #4a4a4a;
}
.fonthead2{
font-size: 18px;
}
.width25{
width: 25%;
}
.width23{
width: 22%;
}
.w-30{
width: 30%;
}
.w-20{
width: 20%;
}
/* navbarsect */
.bars,.navbar-toggler:focus {
box-shadow: none !important;
}
.width75{
width: 75%;
}
.whitespace-nowrap{
white-space: nowrap;
}
#navsect ul li a{
margin-right: 6px;
font-size: 15px;
}
#navsect ul li a.active{
color: #fec741;
}
#navsect input{
z-index: 100;
}
#navsect, #scrollNav{
background-image: linear-gradient(115deg, #0072ff 0%, #4899fc 100%);
}
/* #scrollNav{
border-bottom-left-radius: 80px;
border-bottom-right-radius: 80px;
} */
.navbar-nav li a{
color: #fff;
font-size: 15px;
font-weight: 400;
text-overflow: ellipsis;
}
#navsect input, #bonusInput input, #expertReviews input{
border-radius: 52px;
border: 1px solid #efefef;
padding: 15px 0 15px 45px;
width: 100%;
}
.text-dark{
color: #000;
}
.text-dark1{
font-weight: 600;
color: #000;
}
.fontsm i{
font-size: 11px;
}
.borderhere{
border: 1px solid grey;
}
a{
text-decoration: none !important;
}
.posrelative{
position: relative;
}
.inputWdImage .posabsoluteInput{
position: absolute;
top: 50%;
right: 0;
transform: translate(-50%, -50%);
}
.inputWdImage input{
outline: none;
}
.inputWdImage img{
width: 8%;
cursor: pointer;
}
.boxWhite{
display: flex;
background: #fff;
height: 100%;
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, .2);
}
.boxWhite .item{
flex: 1;
}
.gamesSection .boxWhite{
background: #fff;
border-radius: 18px;
height: 100%;
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, .2);
white-space: nowrap;
}
.gamesSection .boxWhite:hover{
background: lightcyan;
color: #fff;
border-radius: 18px;
height: 100%;
border: 1px solid #fff;
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, .2);
}
/* .boxWhite h4{
font-size: 18px;
} */
.boxWhite img{
/* width: 60px; */
height: 100%;
padding: 5px;
}
/* Ensure all .boxWhite elements have equal height */
.boxWhite {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
max-width: 100%;
/* min-height: 120px; */
box-sizing: border-box;
background-color: #fff; /* Optional: Ensure the white background */
border-radius: 18px; /* Optional: Add some styling */
border: 1px solid rgba(0, 0, 0, 0.1);;
}
/* Set a fixed width for all images and ensure aspect ratio is maintained */
.boxWhite .img {
width: 100%; /* Fixed width */
height: auto; /* Maintain aspect ratio */
}
.boxWhite .img3, .boxWhite .img4{
width: 100%;
}
.img5{
width:68px;
}
/* .height300{
height: 300px;
} */
/* Ensure the text aligns consistently */
.boxWhite p {
margin-top: auto; /* Push the text down within the white box */
text-align: center;
}
.text-gray{
color: #333333;
}
.text-dark_light{
color: #6e6e6e;
}
.imgBox{
border-radius: 10px;
/* background-image: linear-gradient(0deg, #dd2676 0%, #fc4d35 100%); */
/* padding: 16px 4px; */
width: 100%;
}
.imgBox2{
border-radius: 18px;
background-image: linear-gradient(0deg, rgba(242,142,38,0.996078431372549) 0%, rgba(253,100,79,0.9999999999999999) 100%);
padding: 16px 22px;
width: 100%;
}
.imgBox3{
border-radius: 18px;
background-image: linear-gradient(0deg, #98e05f 0%, #0de3ac 100%);
padding: 10px;
}
.imgBox3 img{
height: 100%;
}
.imgBox4{
background-image: url(".. / img / home / orange - bg.png ");
background-size: contain;
padding-top: 56.25%;
width: 100%;
background-repeat: no-repeat;
background-position: center;
}
/* body */
.borderblack{
border: 1px solid lightgrey;
}
.borderright{
position: relative;
}
.borderright:before{
content: " | ";
position: absolute;
left: 100%;
color: rgba(0, 0, 0, .2);
font-size: 1.5rem;
top: 50%;
transform: translateY(-50%);
}
.installbtn{
padding: 6px 18px;
font-size: 14px !important;
color: #fff;
border: 1px solid #568fd9;
border-radius: 8px;
background: #568fd9;
}
.installbtn2{
/* background: #3089fe; */
background: #568fd9;
padding: 6px 18px;
font-size: 16px;
color: #fff;
border: 1px solid #568fd9;
border-radius: 8px;
}
.installbtn3{
background: #568fd9;
padding: 5px;
font-size: 15px;
border: 1px solid #568fd9;
border-radius: 8px;
color: #fff;
}
.installbtn:hover, .installbtn2:hover, .installbtn3:hover, .visitbtn:hover{
background: #3089fe;
border: 1px solid #3089fe;
}
#bgwhite .carousel-inner .carousel-item img{
width: 100%;
height: 100%;
}
.carousel-indicators [data-bs-target]{
width: 13px !important;
Подробнее здесь: https://stackoverflow.com/questions/793 ... h-responsi
Мобильная версия