diff options
| author | Mark Otto <[email protected]> | 2016-11-25 23:43:12 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-11-25 23:43:12 -0800 |
| commit | 23664d3a9089306b6ef06b944b03f2ccccfc5024 (patch) | |
| tree | 4cc4d3e18588a195672eb8f45f029807e791c38c | |
| parent | ef818c07999d6ffe403f0af3d27324db39b2eeb6 (diff) | |
| download | bootstrap-23664d3a9089306b6ef06b944b03f2ccccfc5024.tar.xz bootstrap-23664d3a9089306b6ef06b944b03f2ccccfc5024.zip | |
fix nesting and syntax error
| -rw-r--r-- | scss/_carousel.scss | 59 |
1 files changed, 29 insertions, 30 deletions
diff --git a/scss/_carousel.scss b/scss/_carousel.scss index fdfcd87e3..9b4d96982 100644 --- a/scss/_carousel.scss +++ b/scss/_carousel.scss @@ -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%; } |
