mdbootstrap4-pro
Version:
MDBootstrap 4 PRO
39 lines (34 loc) • 952 B
CSS
/* YOUR CUSTOM STYLES */
html,
body,
header,
.view,
.carousel,
.carousel-item,
.active,
.carousel-inner {
height: 100%;
}
.carousel-item:nth-child(1) {
background-image: url("http://mdbootstrap.com/img/Photos/Horizontal/Nature/full%20page/img%20(1).jpg");
background-repeat: no-repeat;
background-size: cover;
}
.carousel-item:nth-child(2) {
background-image: url("http://mdbootstrap.com/img/Photos/Horizontal/Nature/full%20page/img%20(2).jpg");
background-repeat: no-repeat;
background-size: cover;
}
.carousel-item:nth-child(3) {
background-image: url("http://mdbootstrap.com/img/Photos/Horizontal/Nature/full%20page/img%20(3).jpg");
background-repeat: no-repeat;
background-size: cover;
}
@media (min-width: 776px) {
.carousel .view ul li {
display: inline;
}
.carousel .view .full-bg-img ul li .flex-item {
margin-bottom: 1.5rem;
}
}