Last active
December 15, 2015 17:39
-
-
Save geedmo/5297714 to your computer and use it in GitHub Desktop.
Bootstrap Carousel Fade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.carousel-fade { | |
.carousel-inner { | |
.item { | |
opacity: 0; | |
.transition(opacity 1s ease-out); | |
} | |
.active { | |
opacity: 1; | |
} | |
.active.left, | |
.active.right { | |
left: 0; | |
opacity: 0; | |
z-index: 1; | |
} | |
.next.left, | |
.prev.right { | |
opacity: 1; | |
} | |
} | |
.carousel-control { | |
z-index: 2; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment