phuocng / csslayout

A collection of popular layouts and patterns made with CSS. Now it has 100+ patterns and continues growing!
https://phuoc.ng/collection/css-layout
MIT License
8.08k stars 518 forks source link

Stacked cards #205

Open abelardolg opened 2 years ago

abelardolg commented 2 years ago

Hi there! I respectively copied your code into my .css and .html files but...the code doesn't show your results.

My results: image

What's wrong?

Katleho-codes commented 2 years ago

Let's see the code

elkarouani commented 1 year ago

I checked the related snippet and I found that it missed the fact that the 'stacked-cards' class needs a specific width and height like 100px, and each card will have a different rotation style, then you can see a result as the related illustration shows, you can inspect that illustration as it is an HTML Element so you can check more details.