mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
fix nesting and syntax error
This commit is contained in:
@@ -46,40 +46,39 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.carousel-item.active,
|
.carousel-item.active,
|
||||||
.carousel-item-next,
|
.carousel-item-next,
|
||||||
.carousel-item-prev {
|
.carousel-item-prev {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.carousel-item.active {
|
.carousel-item.active {
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .carousel-item-next,
|
> .carousel-item-next,
|
||||||
> .carousel-item-prev {
|
> .carousel-item-prev {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .carousel-item-next {
|
> .carousel-item-next {
|
||||||
left: 100%;
|
left: 100%;
|
||||||
}
|
}
|
||||||
> .carousel-item-prev {
|
> .carousel-item-prev {
|
||||||
left: -100%;
|
left: -100%;
|
||||||
}
|
}
|
||||||
> .carousel-item-next.carousel-item-left,
|
> .carousel-item-next.carousel-item-left,
|
||||||
> .carousel-item-prev.carousel-item-right {
|
> .carousel-item-prev.carousel-item-right {
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .active.carousel-item-left {
|
> .active.carousel-item-left {
|
||||||
left: -100%;
|
left: -100%;
|
||||||
}
|
}
|
||||||
> .active.carousel-item-right {
|
> .active.carousel-item-right {
|
||||||
left: 100%;
|
left: 100%;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user