Requested
Seen
5 occasions
I want to make my output of the Html and CSS file like this (ss#1); I’ve created this utilizing a separate HTML and CSS file, however after I’m placing it on my precise Html and CSS file it seems to be like this(ss#2). How can I repair this kindly assist me!
/* Right here is the supply code for ss#1 */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Swiper demo</title>
<meta
title="viewport"
content material="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"
/>
<!-- Hyperlink Swiper's CSS -->
<hyperlink
rel="stylesheet"
href="https://cdn.jsdelivr.web/npm/swiper/swiper-bundle.min.css"
/>
<!-- Demo kinds -->
<model>
html,
physique {
place: relative;
top: 100%;
}
physique {
margin: 0;
padding: 0;
}
html,
physique {
place: relative;
top: 100%;
}
physique {
show: flex;
justify-content:heart;
align-items:heart;
}
.swiper {
width: 200px;
padding-top: 200px;
padding-bottom: 0;
}
.swiper-slide {
show: flex;
align-items:heart;
justify-content: heart;
border-radius: 15px;
}
.swiper-slide img{
show:flex;
width: 100%;
}
</model>
</head>
<physique>
<!-- Swiper -->
<div class="swiper mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img4.JPG" />
</div>
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img1.JPG" />
</div>
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img11.jpeg" />
</div>
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img7.jpeg" />
</div>
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img10.png" />
</div>
</div>
</div>
<!-- Swiper JS -->
<script src="https://cdn.jsdelivr.web/npm/swiper/swiper-bundle.min.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper(".mySwiper", {
impact: "playing cards",
grabCursor: true,
spaceBetween: 30,
centeredSlides: true,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
pagination: {
el: ".swiper-pagination",
clickable: true,
},
});
</script>
</physique>
</html>
/* and right here is the supply code for ss#2 */
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Suitable" content material="IE=edge">
<meta
title="viewport"
content material="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"
/>
<title>Prompt Resume Builder</title>
<hyperlink rel="stylesheet" href="https://cdn.jsdelivr.web/npm/swiper@8/swiper-bundle.min.css">
<script src="https://equipment.fontawesome.com/f5ba79b0f3.js" crossorigin="nameless"></script>
<hyperlink href="https://fonts.googleapis.com/css2?household=Josefin+Sans&show=swap" rel="stylesheet">
<hyperlink rel="stylesheet" href="https://cdn.jsdelivr.web/npm/swiper/swiper-bundle.min.css">
<hyperlink rel="stylesheet" href="model.css">
<model>
part{
place: absolute;
width: 100px;
min-height: 20vh;
show: flex;
justify-content: heart;
align-items: heart;
overflow: hidden;
margin: 0.50%;
padding: 0.50%;
}
.swiper {
width: 100%;
padding-top: 120px;
padding-bottom: 0;
}
.swiper-slide {
show: flex;
align-items:heart;
justify-content: heart;
border-radius: 15px;
width: 100%;
top: 100%;
}
.swiper-slide img{
show:flex;
width: 100%;
}
</model>
</head>
<physique>
<div class="foremost">
<div class="brand">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/brand.png">
</div>
<div class="part">
<!-- Swiper -->
<div class="swiper mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img4.JPG" />
</div>
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img1.JPG" />
</div>
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img11.jpeg" />
</div>
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img7.jpeg" />
</div>
<div class="swiper-slide">
<img src="/Customers/megatron/Paperwork/Venture/ResumeBuilder/photographs/img10.png" />
</div>
</div>
</div>
</div>
<!-- Swiper JS -->
<script src="https://cdn.jsdelivr.web/npm/swiper/swiper-bundle.min.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper(".mySwiper", {
impact: "playing cards",
grabCursor: true,
spaceBetween: 30,
centeredSlides: true,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
pagination: {
el: ".swiper-pagination",
clickable: true,
},
});
</script>
</div>
</physique>
</html>
enter picture description right here
enter picture description right here
1
lang-html