CSS background image example

The background-image property sets the background image of an element.

<style type="text/css">
body {
  background-image: url("/img/parsley_s.jpg");
}
</style>
<div>
  Hello world
</div>
refresh
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit

Comments

Click here to write/view comments