Skip to content

Instantly share code, notes, and snippets.

@daniloparrajr
Created April 17, 2017 03:02
Show Gist options
  • Save daniloparrajr/9b9a2f313da9ebcd6ec7dbafe863a20e to your computer and use it in GitHub Desktop.
Save daniloparrajr/9b9a2f313da9ebcd6ec7dbafe863a20e to your computer and use it in GitHub Desktop.
Boostrap Snippets
.carousel-fade {
.carousel-inner {
.item {
transition-property: opacity;
}
.item,
.active.left,
.active.right {
opacity: 0;
}
.active,
.next.left,
.prev.right {
opacity: 1;
}
.next,
.prev,
.active.left,
.active.right {
left: 0;
transform: translate3d(0, 0, 0);
}
}
.carousel-control {
z-index: 2;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment