shape-image-threshold
Used with 'shape-outside', this property defines the alpha (transparency) limit that determines the shape. A threshold of 0.5 means pixels with more than 50% opacity will form part of the shape.
Quick example
.image-wrap {
float: left;
shape-outside: url('star.png');
/* Only pixels with 80% opacity or more will be used for the wrap boundary */
shape-image-threshold: 0.8;
} Quick facts
Initial value
0.0Inherited
No
Applies to
floats
Animation type
number
shape-image-threshold Browser Support
Widely available Since 2020 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.
Safe to use without fallbacks.
37+
62+
10.1+
79+