diff --git a/site/docs/4.1/components/collapse.md b/site/docs/4.1/components/collapse.md index 88ed86a672..6ede6e4b5d 100644 --- a/site/docs/4.1/components/collapse.md +++ b/site/docs/4.1/components/collapse.md @@ -8,7 +8,7 @@ toc: true ## How it works -The collapse JavaScript plugin is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the `height` from it's current value to `0`. Given how CSS handles animations, you cannot use `padding` on a `.collapse` element. Instead, use the class as an independent wrapping element. +The collapse JavaScript plugin is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the `height` from its current value to `0`. Given how CSS handles animations, you cannot use `padding` on a `.collapse` element. Instead, use the class as an independent wrapping element. ## Example