<url>

The standard CSS function for including external resources like images, fonts, or SVGs into your stylesheet.

Quick example

.hero {
  /* Loads an external image as a background */
  background-image: url('images/hero.jpg');
}

<url> Browser Support

Widely availableSince 201596% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

32+
19+
7+
12+
ESC