JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
<div class="scrollable vertical">
<!-- root element for the items -->
<div class="items">
<div class="item">
<img src="http://farm1.static.flickr.com/3650/3323058611_d35c894fab_m.jpg" />
<h3>1. Barcelona Pavilion</h3>
<strong>
The German Pavilion in Barcelona, designed by Ludwig Mies van der Rohe
and built for the International Exposition in 1929.
</strong>
<p>
The Pavilion was not only a pioneer for construction forms with a fresh, disciplined
understanding of space, but also for modeling new opportunities for an exciting
association of free art and architecture.
</p>
<p>
<a href="#">Read more</a> <a href="#">Show in map</a>
</p>
</div>
<div class="item">
<img src="http://farm1.static.flickr.com/3635/3323893254_3183671257_m.jpg" />
<h3>2. Barcelona Pavilion</h3>
<strong>
The German Pavilion in Barcelona, designed by Ludwig Mies van der Rohe
and built for the International Exposition in 1929.
</strong>
<p>
The Pavilion was not only a pioneer for construction forms with a fresh, disciplined
understanding of space, but also for modeling new opportunities for an exciting
association of free art and architecture.
</p>
<p>
<a href="#">Read more</a> <a href="#">Show in...
CSS
.vertical {
border-top:1px solid #DDDDDD;
height:880px;
overflow:hidden;
position:relative;
width:700px;
}
.item {
border-bottom:1px solid #DDDDDD;
font-size:12px;
height:180px;
margin:10px 0;
padding:15px;
}
.items {
height:20000em;
margin:0;
position:absolute;
}
scroll...css?v=1 (line 15)
html, div, map, dt, isindex, form {
display:block;
}
.item img {
float:left;
height:180px;
margin-right:20px;
width:240px;
}
.item h3 {
color:#445566;
font-size:16px;
font-weight:normal;
margin:0 0 5px;
}
p, dl, multicol {
display:block;
margin:1em 0;
}
b, strong {
font-weight:bolder;
}
h3 {
display:block;
font-size:1.17em;
font-weight:bold;
margin:1em 0;
}
JavaScript
$(".scrollable").scrollable({ vertical: true, mousewheel: true });