0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

fix nesting and syntax error

This commit is contained in:
Mark Otto 2016-11-25 23:43:12 -08:00
parent ef818c0799
commit 23664d3a90

View File

@ -46,40 +46,39 @@
}
}
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
display: block;
}
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
display: block;
}
.carousel-item.active {
left: 0;
}
.carousel-item.active {
left: 0;
}
> .carousel-item-next,
> .carousel-item-prev {
position: absolute;
top: 0;
width: 100%;
}
> .carousel-item-next,
> .carousel-item-prev {
position: absolute;
top: 0;
width: 100%;
}
> .carousel-item-next {
left: 100%;
}
> .carousel-item-prev {
left: -100%;
}
> .carousel-item-next.carousel-item-left,
> .carousel-item-prev.carousel-item-right {
left: 0;
}
> .carousel-item-next {
left: 100%;
}
> .carousel-item-prev {
left: -100%;
}
> .carousel-item-next.carousel-item-left,
> .carousel-item-prev.carousel-item-right {
left: 0;
}
> .active.carousel-item-left {
left: -100%;
}
> .active.carousel-item-right {
left: 100%;
}
> .active.carousel-item-left {
left: -100%;
}
> .active.carousel-item-right {
left: 100%;
}