Skip to content

Instantly share code, notes, and snippets.

@uniquelau
Created August 1, 2011 11:41
Show Gist options
  • Save uniquelau/1117989 to your computer and use it in GitHub Desktop.
Save uniquelau/1117989 to your computer and use it in GitHub Desktop.
Infinite Carousel
<aside role="complementary" class="features bggr-02">
<div class="container">
<a class="bggr-02 nav js-only prev">Previous</a>
<div class="carousel">
<ul>
<li>
<h1><a href="#">Graduates</a></h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sagittis blandit.</p>
</li>
<li>
<h1>Future Talent</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sagittis blandit.</p>
<img src="http://placehold.it/198x128/ffb8ea/000" width="198" height="128" alt="" />
</li>
<li>
<h1>Leaders</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sagittis blandit.</p>
</li>
<li>
<h1>Managers</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sagittis blandit.</p>
<img src="http://placehold.it/198x128/ffb8ea/000" width="198" height="128" alt="" />
</li>
<!-- Hidden -->
<li>
<h1><a href="#">Graduates</a></h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sagittis blandit.</p>
</li>
<li>
<h1>Future Talent</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sagittis blandit.</p>
<img src="http://placehold.it/198x128/ffb8ea/000" width="198" height="128" alt="" />
</li>
<li>
<h1>Leaders</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sagittis blandit.</p>
</li>
<li>
<h1>Managers</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sagittis blandit.</p>
<img src="http://placehold.it/198x128/ffb8ea/000" width="198" height="128" alt="" />
</li>
</ul>
</div>
<a class="bggr-02 nav js-only next">Next</a>
</div>
</aside>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment