Home
Basics
Introduction Adding styles Selectors Headings and Text Lists Links Tables Colors Background Box Model Fonts Icons Display Position Overflow Align Images Tool tips FlexAdvanced
Shadows Rounded Corners Units Specificity Responsive design Media Queries Grid Animations Psuedo elements CSS variables and functions SASS and SCSSMiscellaneous
CSS Templates CSS Interview QnABackground property in CSS
Background property lets you specify background color or background image for an element. This is a shorthand property for- background-color - transparent
- background-clip - border-box|padding-box|content-box
- background-image - url('')
- background-size - auto|length|percentage|cover|contain
- background-position - left top|left center|....
- background-repeat - repeat|no-repeat|repeat-x|repeat-y
- background-attachment - local|scroll|fixed
- background-origin - border-box|padding-box|content-box - origin position of background image
- background-blend-mode -
- background-fill-mode -
Web development and Automation testing
solutions delivered!!