Line 1: | Line 1: | ||
− | /* | + | /* |
− | * Start Bootstrap - | + | * Start Bootstrap - Half Slider (http://startbootstrap.com/) |
* Copyright 2013-2016 Start Bootstrap | * Copyright 2013-2016 Start Bootstrap | ||
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) | ||
*/ | */ | ||
− | |||
− | |||
html, | html, | ||
Line 12: | Line 10: | ||
} | } | ||
− | + | /* You can change the height of the carousel by changing the height in the class below. It is set to 50% by default, but can be any height! */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .carousel { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
height: 50%; | height: 50%; | ||
} | } | ||
− | + | .item, | |
− | + | .active, | |
− | + | .carousel-inner { | |
height: 100%; | 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:45, 5 August 2017
/*
* Start Bootstrap - Half Slider (http://startbootstrap.com/) * Copyright 2013-2016 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */
html, body {
height: 100%;
}
/* You can change the height of the carousel by changing the height in the class below. It is set to 50% by default, but can be any height! */
.carousel {
height: 50%;
}
.item, .active, .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;
}