css.properties

object-view-box

The object-view-box property specifies the view box for replaced content.

Experimental โ€” This feature is experimental and may change

Formal Syntax

object-view-box = none | <basic-shape-rect> <basic-shape-rect> = <inset()> | <rect()> | <xywh()>

See specification

JavaScript Access

// Access via element.style element.style.objectViewBox = "none";

Browser Support

experimental, standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
object-view-box104โ€”โ€”104
none104โ€”โ€”104

Related Properties