Skip to content

Commit

Permalink
Small tweak for legibility
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdavidmills authored Nov 1, 2023
1 parent 53cf713 commit 7a1b686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/container-type/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ An element can be established as a query container for [container size queries](

Size containment turns off the ability of an element to get size information from its contents, which is important for container queries to avoid infinite loops. If this were not the case, a CSS rule inside a container query could change the content size, which in turn could make the query evaluate to false and change the parent element's size, which in turn could change the content size and flip the query back to true, and so on.

The container size has to be set explicitly or by context, for example, block elements, flex containers, and grid containers stretching to the full width of their parent. If an explicit or contextual size is not available, elements with size containment will collapse.
The container size has to be set explicitly or by context for example, block elements, flex containers, and grid containers stretching to the full width of their parent. If an explicit or contextual size is not available, elements with size containment will collapse.

## Syntax

Expand Down

0 comments on commit 7a1b686

Please sign in to comment.