1/* The first method using an image on your server */
2background: url('img/someimage.jpg');
3
4/* The second method using an image hosted on another server */
5background: url('http://www.someimage.com/someimage.jpg');
6
7/* A third method that allows the site to determine protocol instead of explicitly defining it */
8background: url('//www.someimage.com/someimage.jpg');
1body {
2 /* Base64 encoded transparent gif */
3 background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
4}