Skip to content

Commit

Permalink
place-self: applies to block-level boxes, absolutely-positioned boxes…
Browse files Browse the repository at this point in the history
…, and grid items (#36545)

place-self

Per formal syntax, applies to block-level boxes, absolutely-positioned boxes, and grid items
  • Loading branch information
estelle authored Oct 30, 2024
1 parent 039401f commit b505d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/place-self/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ browser-compat: css.properties.place-self

{{CSSRef}}

The **`place-self`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) allows you to align an individual item in both the block and inline directions at once (i.e. the {{cssxref("align-self")}} and {{cssxref("justify-self")}} properties) in a relevant layout system such as [Grid](/en-US/docs/Web/CSS/CSS_grid_layout) or [Flexbox](/en-US/docs/Web/CSS/CSS_flexible_box_layout). If the second value is not present, the first value is also used for it.
The **`place-self`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) allows you to align an individual item in both the block and inline directions at once (i.e. the {{cssxref("align-self")}} and {{cssxref("justify-self")}} properties). This property applies to block-level boxes, absolutely-positioned boxes, and grid items. If the second value is not present, the first value is also used for it.

{{EmbedInteractiveExample("pages/css/place-self.html")}}

Expand Down

0 comments on commit b505d75

Please sign in to comment.