Help Replicate On-Click Horizontal Expand Animation

Hello there! I’m looking to create a similar animation to this website If you scroll about 3/4 down their page you will see a white box titled “Connect” with two vertical black rectangles next to it labeled Create and Evolve. When you click on any of these they slide over to expand and show more text. Does anyone have advice for creating this animation in readymag? Thank you!