"card list"
Bootstrap 3.0.0 Snippet by codesoftlab

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <ul class="posts"> <li class="post"> <div class="post-content"> <header><a href="https://twitter.com/@kamciesla">@kamciesla posted this</a></header><img src="https://static.pexels.com/photos/5938/food-salad-healthy-lunch-medium.jpg"/> <footer> <a href="https://kamilciesla.pl"><i class="fa fa-globe"></i></a><a href="https://pl.linkedin.com/in/kamilciesla"><i class="fa fa-linkedin"></i></a><a href="https://twitter.com/@kamciesla"><i class="fa fa-twitter"></i></a><a href="https://www.behance.net/kamciesla"><i class="fa fa-behance"></i></a><a href="https://dribbble.com/kamilciesla"><i class="fa fa-dribbble"></i></a></footer> </div><a class="post-avatar" href="http://kamilciesla.pl"></a> </li> <li class="post"> <div class="post-content"> <header><a href="https://twitter.com/@kamciesla">@kamciesla posted this</a></header><img src="https://static.pexels.com/photos/5927/food-salad-red-lunch-large.jpg"/> <footer> <a href="https://kamilciesla.pl"><i class="fa fa-globe"></i></a><a href="https://pl.linkedin.com/in/kamilciesla"><i class="fa fa-linkedin"></i></a><a href="https://twitter.com/@kamciesla"><i class="fa fa-twitter"></i></a><a href="https://www.behance.net/kamciesla"><i class="fa fa-behance"></i></a><a href="https://dribbble.com/kamilciesla"><i class="fa fa-dribbble"></i></a></footer> </div><a class="post-avatar" href="http://kamilciesla.pl"></a> </li> <li class="post"> <div class="post-content"> <header><a href="https://twitter.com/@kamciesla">@kamciesla posted this</a></header><img src="https://static.pexels.com/photos/6118/food-water-corn-cooking-medium.jpg"/> <footer> <a href="https://kamilciesla.pl"><i class="fa fa-globe"></i></a><a href="https://pl.linkedin.com/in/kamilciesla"><i class="fa fa-linkedin"></i></a><a href="https://twitter.com/@kamciesla"><i class="fa fa-twitter"></i></a><a href="https://www.behance.net/kamciesla"><i class="fa fa-behance"></i></a><a href="https://dribbble.com/kamilciesla"><i class="fa fa-dribbble"></i></a></footer> </div><a class="post-avatar" href="http://kamilciesla.pl"></a> </li> <li class="post"> <div class="post-content"> <header><a href="https://twitter.com/@kamciesla">@kamciesla posted this</a></header><img src="https://static.pexels.com/photos/5876/food-salad-healthy-vegetables-medium.jpg"/> <footer> <a href="https://kamilciesla.pl"><i class="fa fa-globe"></i></a><a href="https://pl.linkedin.com/in/kamilciesla"><i class="fa fa-linkedin"></i></a><a href="https://twitter.com/@kamciesla"><i class="fa fa-twitter"></i></a><a href="https://www.behance.net/kamciesla"><i class="fa fa-behance"></i></a><a href="https://dribbble.com/kamilciesla"><i class="fa fa-dribbble"></i></a></footer> </div><a class="post-avatar" href="http://kamilciesla.pl"></a> </li> <li class="post"> <div class="post-content"> <header><a href="https://twitter.com/@kamciesla">@kamciesla posted this</a></header><img src="https://static.pexels.com/photos/5928/salad-healthy-diet-spinach-medium.jpg"/> <footer> <a href="https://kamilciesla.pl"><i class="fa fa-globe"></i></a><a href="https://pl.linkedin.com/in/kamilciesla"><i class="fa fa-linkedin"></i></a><a href="https://twitter.com/@kamciesla"><i class="fa fa-twitter"></i></a><a href="https://www.behance.net/kamciesla"><i class="fa fa-behance"></i></a><a href="https://dribbble.com/kamilciesla"><i class="fa fa-dribbble"></i></a></footer> </div><a class="post-avatar" href="http://kamilciesla.pl"></a> </li> </ul> <p class="no-posts">Sorry... there are no more posts to show right now.</p> </div>
body { background: url("http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/restaurant.png"); font: bold 13px Helvetica, Arial, sans-serif; } a { color: #a2a2a2; text-decoration: none; -webkit-transition: color .3s ease; transition: color .3s ease; } footer a { margin-right: 10px; } a:hover { color: #666; } .container { max-width: 650px; width: 100%; margin: 0 auto; } .no-posts { padding: 50px 10px 30px 100px; text-align: center; color: #fff; } .posts { list-style: none; margin: 20px auto; padding: 0; width: 100%; } .posts .post { margin-top: 20px; margin-left: 100px; position: relative; } .posts .post-avatar { background: #fff url("http://on.be.net/1Noq5Sf") center/100%; height: 80px; width: 80px; border-radius: 4px; position: absolute; left: -100px; top: 0; } .posts .post-avatar.post-avatar--fixed { position: fixed; left: 50%; top: 20px; margin-left: -325px; } .posts .post-avatar.post-avatar--absolute { position: absolute; bottom: 0; left: 0; margin-left: -100px; top: auto; } .posts .post-content { background: #fff; border-radius: 4px; width: 100%; } .posts .post-content img { width: 100%; } .posts .post-content header, .posts .post-content footer { padding: 15px 20px; } https://static.pexels.com/photos/5938/food-salad-healthy-lunch-medium.jpg
$('.post-avatar').each(function() { var avatar = $(this), avatarWatcher = scrollMonitor.create(avatar.parent(), { top: 20, bottom: -avatar.height() - 20 }); avatarWatcher.stateChange(function() { if (avatarWatcher.isInViewport) { if (avatarWatcher.isInViewport && avatarWatcher.isAboveViewport) { avatar.removeClass('post-avatar--absolute').addClass('post-avatar--fixed'); } else if (!avatarWatcher.isAboveViewport) { avatar.removeClass('post-avatar--absolute').removeClass('post-avatar--fixed'); } } else { avatar.removeClass('post-avatar--fixed').addClass('post-avatar--absolute'); } }); });

Related: See More


Questions / Comments: