mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fix nesting and syntax error
This commit is contained in:
parent
ef818c0799
commit
23664d3a90
1 changed files with 29 additions and 30 deletions
|
@ -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%;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue