diff --git a/snippets/height-transition.md b/snippets/height-transition.md index dbe72c4b6..ddea61252 100644 --- a/snippets/height-transition.md +++ b/snippets/height-transition.md @@ -20,7 +20,7 @@ Transitions an element's height from `0` to `auto` when its height is unknown. max-height: 0; } -.target:hover > .el { +.trigger:hover > .el { max-height: var(--max-height); } ```