Join the DZone community and get the full member experience.Join For Free
Description It determines background image for the element. If the background color is specified for the element at the same time it will be shown while the background image will have been downloaded fully. The same will happen if the image is inaccessible or their demonstration in the browser is switched off. When there are transparent areas in the image you can see the background color through them. The usage of it at free web templates Syntax background-image: url(path to the file) | none Arguments Path to the graphic file is a value which is indicated inside the construction â€œurl()â€.You can write the file path either in quotation marks (double or single) or without them. The argument can have the value â€œnoneâ€ if the background image is not necessary.
Opinions expressed by DZone contributors are their own.