BACKGROUND Property In CSS

background Property in CSS

background property Used as a shorthand property to set all the background properties at once.

Possible Value:

Separate values by a space in the following order (those that are not defined will use inherited or default initial values): background-color background-image background-repeat background-attachment background-position

Example

div { background:green url(image.jpg) no-repeat fixed center center; } div { background:url(image.jpg) fixed; }

Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad