Menu icon Foundation
Toggle and Expand div with animation?

I was just wondering if anyone has an example (or if its possible) to have a div that only shows a certain amount on screen. Then when you toggle an "expand" button, the div will animate out similar to the accordion container. So far with the MotionUI and toggle classes, everything Ive done seems hacky. 

animationsitesexpandmotionui

I was just wondering if anyone has an example (or if its possible) to have a div that only shows a certain amount on screen. Then when you toggle an "expand" button, the div will animate out similar to the accordion container. So far with the MotionUI and toggle classes, everything Ive done seems hacky.