diff --git a/site/docs/4.1/components/collapse.md b/site/docs/4.1/components/collapse.md index 88ed86a6723b9b50b0e76357a0368874f8b3e733..6ede6e4b5d3210fb1817e4281595b7f4f132f155 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