shape-image-threshold

The shape-image-threshold CSS property sets the alpha channel threshold used to extract the shape using an image as the value for shape-outside.

Initial value 0.0
Applies to floats

Syntax

  
shape-image-threshold: .3;
  

Values

Sets the threshold used for extracting a shape from an image. The shape is defined by the pixels whose alpha value is greater than the threshold. Values outside the range 0.0 (fully transparent) to 1.0 (fully opaque) are clamped to this range.

Browser support

shape-image-thresholdchrome37edge79firefox62ieopera24safari10.1
percentageschrome78edge79firefox70ieoperasafari

We use cookies to improve your experience. Learn more in our Privacy policy.

×