Skip to content

Commit d8a8f7e

Browse files
committed
[css-align-3] Add note calling out that justify-self:stretch is different from the content-alignment 'stretch' value.
1 parent c14ad85 commit d8a8f7e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-align-3/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,11 @@ Distributed Alignment: the ''<content-distribution>/stretch'', ''space-between''
762762

763763
The default [=fallback alignment=] for this value is ''flex-start''.
764764
<span class='note'>(For layout modes other than flex layout, ''flex-start'' is identical to ''start''.)</span>
765+
766+
Note: This `align-content/stretch` definition applies to the [=content-distribution properties=];
767+
the [=self-alignment properties=] 'justify-self'/'align-self' have their own ''justify-self/stretch'' value,
768+
which can grow <em>or shrink</em> the [=alignment subject=]
769+
to ensure it exactly fits the [=alignment container=].
765770
</dl>
766771

767772
These values are represented with the <<content-distribution>> grammar term:

0 commit comments

Comments
 (0)