css.properties

fill-size

The fill-size property specifies the size of a fill image.

Draft โ€” This property is defined in a W3C Draft and may be subject to change

Formal Syntax

fill-size = <bg-size># <bg-size> = [ <length-percentage [0,โˆž]> | auto ]{1,2} | cover | contain

See specification

JavaScript Access

// Access via element.style element.style.fillSize = "auto";

Browser Support

This property is defined in a W3C Draft and may be subject to change. Browser support data is not yet available.

Related Properties