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; }

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad