Sign in Registration

How to set the background using the CSS background property


To set the background for an HTML element, in CSS there is a special property - background . This is a shorthand for many of the properties that control the appearance of an element. The values ​​can be specified in any order, the browser is able to independently determine which of them corresponds to the desired property.

Among the many properties for setting the background, the following are usually distinguished:

Thus, the universal property background contains many properties that can be written individually or at one time in the background property.

Comments (0)
For commenting sign in or register.

Latest articles

Popular sections


Login to the web version
Android app:
Available on Google Play

Share this

Subscribe to