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:
parent
2998929b39
commit
c834b4027c
@ -40,7 +40,7 @@ body {
|
||||
.carousel .item {
|
||||
height: 500px;
|
||||
}
|
||||
.carousel img {
|
||||
.carousel-inner > .item > img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user