CSS background-image property

Usage

Specifies the URL of the background image.

Values

  • url([URL]) - the URL of the background image
  • none - no background image (default)

Example

Code:

body {
  background-image: url(background.jpg);
}