<url>
The standard CSS function for including external resources like images, fonts, or SVGs into your stylesheet.
Syntax
/* Usage Example */
.hero {
/* Loads an external image as a background */
background-image: url(';images/hero.jpg');
}
<url> Browser support
Widely available
Since
2016 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2016.
1+
1+
1+
12+