Return to Snippet

Revision: 11216
at January 28, 2009 12:05 by selfmadepsyche


Initial Code
HTML:

<div class="resize2"><img src="image.jpg" alt="" /></div>


CSS:

.resize2 {
  border: 3px double #333;
  float: left;
  height: 12em;
  margin: .2em 1em 1em 0;
  overflow: hidden;
  width: 12em;
}

.resize2 img {
  margin: -220px 0 0 -210px;
  padding: 6em 0 0 6em;
}

Initial URL
http://www.smileycat.com/miaow/archives/000648.php

Initial Description

                                

Initial Title
Create Resizable Images With CSS

Initial Tags

                                

Initial Language
CSS