Return to Snippet

Revision: 58990
at August 12, 2012 10:10 by satie83


Initial Code
#resize-image {
   /* Just imagine that the image_1.png is 200x400px */
   background:url(image_1.png) top left no-repeat;
   -moz-background-size: 100px 200px;
   -o-background-size: 100px 200px;
   -webkit-background-size: 100px 200px;
}

Initial URL

                                

Initial Description

                                

Initial Title
CSS - Resize your background image

Initial Tags
css, resize, background

Initial Language
CSS