How to create a slider that looks like 'pages' are turning?

Hi, below is a link and a screenshot of a website that has a feature I would like to recreate for my website. I can’t figure out how to create the ‘next-page’ effect that is happening. Not sure if I should make it a slider or play around with animations in order to get the effect.

here is a Link of the site that I am getting the inspiration from: