CSS · Properties — CSS Images

object-view-box

The CSS object-view-box property. Initial value: none. Not inherited.

Syntax
object-view-box: none | <basic-shape-rect>

Example

Try it

Notes

Media: visual. Applies to: replacedElements. Computed value: specifiedKeywordOrComputedFunction.

More in this group

image-orientation image-rendering image-resolution

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