Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

margin-trim

3 tags 1 category

The margin-trim property allows the container to trim the margins of its children where they adjoin the container’s edges.

Values: This property is specified as one of the following keyword values:

Values: none Margins are not trimmed by the container.

Values: block Margins provided to the block children where they adjoin the container’s edges are trimmed to zero without affecting the margins provided to the container.

Values: block-start Margin of the first block child with the container’s edge is trimmed to zero.

Values: block-end Margin of last block child with the container’s edge is trimmed to zero.

Values: inline Margins provided to the inline children where they adjoin the container’s edges are trimmed to zero, without affecting the spacing at the beginning and end of the row.

Syntax example: margin-trim: none;

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…