Skip to content

The CSS images module defines the types of images that can be used (the image type, containing URLs, gradients and other types of images), how to resize them and how they, and other replaced content, interact with the different layout models.

Reference

Properties

  • image-orientation
  • image-rendering
  • object-fit
  • object-position
  • object-view-box

The CSS images module also defines the image-resolution property. Currently, no browsers support this feature.

Functions

  • linear-gradient()
  • radial-gradient()
  • repeating-linear-gradient()
  • repeating-radial-gradient()
  • conic-gradient()
  • repeating-conic-gradient()
  • cross-fade()
  • element()
  • image-set()

The CSS images module also defines the image() function. Currently, no browsers support this feature.

Data types

  • gradient
  • image

Guides

Specifications

See also