Background Image example using CSS

Showing a background image set on a DIV element. Select values from the dropdown list. Scroll down to see the image.

{ background-image: url("back1.png"); }
{ background-repeat: no-repeat; }
{ background-position: 5px 20px; }

Go back to Tutorial
More interesting and interactive Demos