Skip to content

Instantly share code, notes, and snippets.

@Colir
Created May 21, 2014 08:51
Show Gist options
  • Save Colir/4dc381a0ab819fb14dfc to your computer and use it in GitHub Desktop.
Save Colir/4dc381a0ab819fb14dfc to your computer and use it in GitHub Desktop.
A Pen by Colir.
<section class="container">
<div class="col-xs-7 img">
<img src="http://babeholder.pixoil.com/img/1024/4:3">
</div>
<div class="col-xs-5">
lorem ipsum dude
</div>
</section>
img{width:100%;height:auto;}
.img{position:relative;left:0;right:0;padding-left:100%;}
.img img{position:absolute;width:100%;left:0;top:0;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment