CSS · Properties — CSS Images

image-resolution

The CSS image-resolution property. Initial value: 1dppx. Inherited.

Syntax
image-resolution: [ from-image || <resolution> ] && snap?

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecifiedWithExceptionOfResolution.

More in this group

image-orientation image-rendering object-view-box

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course