Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
html, | html, | ||
body { | body { | ||
Line 12: | Line 4: | ||
} | } | ||
− | + | .carousel, | |
− | + | .item, | |
− | + | .active { | |
− | . | + | height: 100%; |
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
} | } | ||
− | . | + | .carousel-inner { |
− | + | height: 100%; | |
} | } | ||
− | /* | + | /* Background images are set within the HTML using inline CSS, not here */ |
− | + | .fill { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
background-position: center; | background-position: center; | ||
+ | -webkit-background-size: cover; | ||
+ | -moz-background-size: cover; | ||
background-size: cover; | background-size: cover; | ||
− | + | -o-background-size: cover; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
footer { | footer { | ||
margin: 50px 0; | margin: 50px 0; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 12:28, 5 August 2017
html, body {
height: 100%;
}
.carousel, .item, .active {
height: 100%;
}
.carousel-inner {
height: 100%;
}
/* Background images are set within the HTML using inline CSS, not here */
.fill {
width: 100%; height: 100%; background-position: center; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cover;
}
footer {
margin: 50px 0;
}