Skip to content

Instantly share code, notes, and snippets.

@zeitan
Created February 13, 2012 18:17
Show Gist options
  • Save zeitan/1818790 to your computer and use it in GitHub Desktop.
Save zeitan/1818790 to your computer and use it in GitHub Desktop.
CSS boostrap
.carousel .active {
left: 0;
}
bootstrap.css (línea 3267)
.carousel .active, .carousel .next, .carousel .prev {
display: block;
}
bootstrap.css (línea 3264)
.carousel .item {
-moz-transition: left 0.6s ease-in-out 0s;
display: none;
position: relative;
}
<div class="item active">
<img src="bootstrap/img/visio1.jpg" alt="" class="center">
<div class="carousel-caption">
<h4>First Thumbnail label</h4>
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
</div>
</div>
.carousel .item > img.center {
display: block; margin-left: auto; margin-right: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment