Posted By

denisel on 08/01/11


Tagged

css


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tmbrenneke


Borders-on-responsive-images


 / Published in: CSS
 

URL: http://csswizardry.com/2011/07/borders-on-responsive-images/

  1. img{
  2. max-width:98%;
  3. padding:1%; /* A percentage that, when doubled and added to the above, makes 100%. */
  4. background:red; /* Color of the faux border. */
  5. }

Report this snippet  

You need to login to post a comment.