details
Provides a native solution to toggle content. You can use 'open' attribute to capture state of the element.
Output:
Show more details
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi tempore rerum possimus. Ipsum temporibus consequuntur saepe aliquid quis deserunt quisquam a odit voluptatum eveniet?
copy