I am absolutely enamored with the Beautiful Stories section on Medium's website. The way they showcase their content is just mesmerizing.
One thing I've noticed is how the cover image and preview of the content changes as you resize your browser window. It's like magic!
Curious to know how they achieve this effect, I decided to set up a CodePen with my own page structure to experiment: http://codepen.io/realph/pen/luwdJ
If anyone has any insights on how I can replicate this amazing feature, please share your knowledge. Thank you in advance!