Skip to content

Commit

Permalink
[css-values-5] Add overflow:hidden to example in calc-size() explainer.
Browse files Browse the repository at this point in the history
Thanks to @yisibl for pointing out the omission.
  • Loading branch information
dbaron committed May 16, 2024
1 parent 9448b55 commit 8998f97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions css-values-5/calc-size-explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ details::details-content {
--open-close-duration: 500ms;
display: block; /* override default 'display: contents' */
height: 0;
overflow: hidden;
transition: height var(--open-close-duration),
content-visibility var(--open-close-duration) allow-discrete step-end;
}
Expand Down

0 comments on commit 8998f97

Please sign in to comment.