×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: David Borromeo
Added: Oct 31, 2013 2:54 AM
Views: 14
Tags: no tags
  1. .container {
  2.   width:100%;
  3.   max-width:500px;
  4. }
  5.  
  6. .hero {
  7.     width:100%;
  8.     height:0;
  9.     background-size:100%;
  10.     background:url(http://img97.imageshack.us/img97/3410/photo2ue.jpg) no-repeat;
  11.     padding-bottom:75%;
  12. }
  13.