CSS
June 3, 2026 1 min read

CSS Background: Utilize Background Properties for Web Design CAPSCOM TECHNOLOGY Computer Education Written By

HS
HEMANT SINGH
Technical Writer & Educator
background-colorDefine background color of an object
background-imageDisplay background image of an object
background-repeatDefine horizontal, vertical repeat of background image
repeat-xRepeat image horizontally
repeat-yRepeat image vertically
no-repeatDo not allow to repeat image in background
background-attachmentDefine background image will scroll or fixed
fixedBackground image will not scroll
scrollBackground image will scroll
background-positionDefine position of backgroud image(starting position of background image)
top leftBackground image will start display from top left
background-sizeDefine size of background image
autoDefault value of background image
coverCover entire background
containMakes background image fully visible