• :only-child

    :only-child – pseudo-class The :only-child pseudo-class selects element that is the only child of its parent.

    Read more

    Posted in CSS

  • background-image

    The CSS property background-image sets the background image or images of an element. This property can specify two types of images: regular images, such as PNG, JPG, SVG, GIF, and WebP files, or gradients.

    Read more

    Posted in CSS, CSS Reference

  • background-color

    The CSS background-color property sets the element’s background color. If an image is present, the color covers painted area behind the image.

    Read more

    Posted in CSS, CSS Reference

  • background-attachment

    The background-attachment CSS property specifies how the background image should be attached to the viewport or an element. This property determines whether the background image is fixed within the viewport, or if it scrolls along with the element or its content. The background-image property is used in conjunction with background-attachment to achieve the desired effect.

    Read more

    Posted in CSS, CSS Reference

  • background-clip

    The background-clip CSS property determines if the element’s background components: image or color extends underneath its border, padding or content.

    Read more

    Posted in CSS, CSS Reference

  • background-origin

    The CSS background-origin property specifies whether the background image is positioned relative to the element’s border-box, padding-box or content-box. The background-origin is used in conjunction with the background-image property.

    Read more

    Posted in CSS, CSS Reference

  • background-repeat

    The CSS background-repeat property specifies if and how the background image is repeated. The background-repeat property is used in conjunction with the background-image property.

    Read more

    Posted in CSS, CSS Reference

  • background-size

    The CSS background-size property specifies the size of background image. The image can be stretched in order to fill the whole element or it can has particular size. The background-size is used in conjunction with the background-image property.

    Read more

    Posted in CSS, CSS Reference

  • background-position

    The background-position CSS property specifies the initial position of the background image for an element, including ::first-letter and :first-line. The background-position is used in conjunction with the background-image property and position is relative to the position specifies by background-origin.

    Read more

    Posted in CSS, CSS Reference

  • background

    The background property specifies a color or an image of an element’s content, padding and border. This property can be used on inline, block, inline-block, table elements and ::first-letter and ::first-line.

    Read more

    Posted in CSS, CSS Reference