CSS object-view-box Property Reference

The CSS object-view-box property is a experimental property in CSS Images. Review its formal syntax, computed behavior, and practical declarations.

CSS object-view-box Property Reference

The CSS object-view-box property is a experimental property in CSS Images. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

object-view-box overview

The CSS object-view-box property is a experimental property in CSS Images. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

object-view-box formal syntax
FieldValue
Formal syntaxnone | <basic-shape-rect>
Initial valuenone
Applies toreplacedElements
InheritedNo
Percentagesno
Computed valuespecifiedKeywordOrComputedFunction
Animation typeasIfPossibleOtherwiseDiscrete
Mediavisual
Specification groupCSS Images
StatusExperimental

Practical examples

These declarations demonstrate valid ways to set object-view-box. The initial and inherit global keywords remain available even when a property-specific value is preferable.

object-view-box live example
CSS .reset-example { object-view-box: initial; } .inherit-example { object-view-box: inherit; } @supports (object-view-box: initial) { .supported { object-view-box: initial; } }

Description

The CSS object-view-box property is a experimental property in CSS Images. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: object-view-box
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies