Images
Images
Section titled “Images”imagedefault: empty image
An image is a rectangle of pixels: rows of width pixels each, and every
pixel a color.[sls.type.image]
The default image is no image: it has no pixels, and its width and height
are 0.[sls.type.image.none]
An image is created with an @image-url() image literal or set by the
application.[sls.type.image.sources]
Images have the following properties:[sls.type.image.properties.meta]
The width of the image in pixels, as an int.
An image without pixels has a width of 0.[sls.type.image.width]
height
Section titled “height”The height of the image in pixels, as an int.
An image without pixels has a height of 0.[sls.type.image.height]
© 2026 SixtyFPS GmbH