www.codecademy.com/journeys/front-end-engineer/paths/fecj-22-web-development-foundations/tracks/fecj-22-fundamentals-of-css/modules/wdcp-22-learn-css-selectors-and-visual-rules-33ae5ed0-698d-448c-b01a-36ebff6a686c/lessons/css-visual-rules/exercises/background-image
1 Users
0 Comments
1 Highlights
0 Notes
Tags
Top Highlights
The background-image property will set the element’s background to display an image. The value provided to background-image is a url. The url should be a URL to an image. The url can be a file within your project, or it can be a link to an external site. To link to an image inside an existing project, you must provide a relative file path. If there was an image folder in the project, with an image named mountains.jpg, the relative file path would look like below:
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.