CSS shape-margin property

Description

CSS shape-margin defines the margin area outside the shape defined by shape-outside. For example, we have a shape outside the floated element. We can define the margin area outside this float-area.

Syntax

shape-margin : length

Property values

lengthDefault

length defines the margin outside the float-area defined by the shape-outside.

shape-margin: 0;

length

There is 10px margin area outside the float-area defined by the shape-outside.

shape-margin: 10px;

Applicable to

It applies to scroll containers.

#CSS digger
Was this article helpful?

 

We can define the margin area outside the float-area.

×

Ctrl+D