CSS: auto-resizing background image

The technique presented in this video tutorial is pretty interesting and its final effect impressive. It basically makes use of the automatic layout of the CSS table model to make an image scale along the screen dimensions. Actually, the image and the table are both inserted in the markup, but this flaw can be easily fixed using JavaScript. Also, a style element put in the body element is clearly an error, but I think the author of this video was too excited for the final result to think about it (I've been there myself wink).

This entry was posted in by Gabriele Romanato. Bookmark the permalink.

Comments are closed.