Tag: CSS Properties

outline

The outline Css property draws the line around the element. The outline property is similar to the border property but is not a part of box model like the border property so it’s not a part of the element’s dimensions. By default, the outline is drawn starting just outside the border edge.

background-attachment

The background-attachment CSS property specifies the type of attachment the background image to the viewport or an element. If the background image is fixed within the viewport or scrolls along the element or its content. The condition is to determine the background-image property.

background-clip

The background-clip CSS property specifies the position of painted  background components: image or color.  It determines if the background components are painted across the content, inside the padding or inside the border of the element.

background-origin

The background-origin is the CSS property which specifies position where the background image is painted: across the content of container area, inside the padding or inside the border. To use it you need to set background-image property.

background-repeat

The background-repeat is the CSS property which specifies how the background image is repeated or if is repeated. The condition is to determine background-image property.

background-size

The background-size is the Css property which specifies the size of background image. The image can be stretched in order to fill the whole element or it can has particular size. To use it you need to set background-image property.

background-position

The ‘background-position’ is the CSS property which specifies the initial position of the background image for all elements. It also applies to ::first-letter and :first-line. The property is not inherited. The initial value is equal to 0% 0%. The property is animatable. To use it you need to set background-image property.

background

The background property specifies a color or an image of an element – its content, padding and border. This property can be used on inline, block, inline-block, table elements and ::first-letter and ::first-line. The background property and all background-related properties  are not inherited.