Menu Home

shape-image-threshold

osbo.com | CSS | Properties | shape-image-threshold

The shape-image-threshold CSS property defines the alpha channel threshold used to extract the shape using an image.

Syntax

CSS

shape-image-threshold: value;

JS

object.style.shapeImageThreshold = "value";

Values

<'shape-image-threshold'> = <alpha-value>
<alpha-value> = <number> | <percentage>
<number>

An integer or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits. The first character may be preceded by a sign (- or +). The last character may be succeeded by an exponent (e or E) and an integer.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

Initial

0

Examples

number

percentage

JS

Internal

shape-margin

shape-outside

External

World Wide Web Consortium (W3C)