Background

Introduction

The background properties are used to define the background effects on elements.

Background Properties

PropertyValuesDescription
Background Colorcolor, transparentSets the background color of an element.
Background Imageurl, gradient, noneSets background image for an element.
Background Cliptext, border, padding, content
Defines how far the background should extend within the element.
Background Blend Modenormal, multiply, screen, overlay, darken, lighten, color-dodge, saturation, color, uminosity
Defines the blending mode of background color and image.
Background X PositionnumberSets the horizontal starting position of a background image.
Background Y PositionnumberSets the vertical starting position of a background image.
Background Sizeauto, length, cover, containThe size of the background image.
Background Repeatrepeat, repeat-x, repeat-y, no-repeatSets if background image will be repeated.
Background Attachmentscroll, fixed, local
Sets whether a background image is fixed or scrolls with the rest of the page.
Was this article helpful?
YesNo

Couldn't Find Your Answer?

Get quality customer support with our professional support team.

Create A Support Ticket
Live Editor