You need to mix relative and absolute positioning to position the positions at the bottom relative to the positioned container.
, - js:
var offset_width = 15;
var i = 0;
$('.eqitem').each(function(){
$(this).css('left', (i*offset_width) + 'px');
i++;
});
css:
#eq {
position:relative;
display: block;
height: 300px;
width: 100px;
}
.eqitem{
position:absolute;
height: 0px;
width: 10px;
background: darkred;
margin-right: 5px;
-webkit-transition: height 0.5s ease-out;
transition: height 0.5s ease-out;
display:inline-block;
bottom:0;
}
, : https://jsfiddle.net/catbadger/pzy15m8e/1/