0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Match .carousel-inner specificity to beat styles

'.carousel ing' was replaced with '.carousel-inner > .item > img' in
3.0 and now loses the specificity war. To make carousel images 500px
tall, match specificity to make carousel.css win.
This commit is contained in:
Ross Allen 2013-07-27 20:14:49 -07:00
parent 2998929b39
commit c834b4027c

View File

@ -40,7 +40,7 @@ body {
.carousel .item {
height: 500px;
}
.carousel img {
.carousel-inner > .item > img {
position: absolute;
top: 0;
left: 0;