Paper Pile Effect v2 | CSSDeck | Bypeople

Paper Pile Effect v2 | CSSDeck

Few days ago, Peduarte posted Paper Pile Effect using :after and :before pseudo classes. It had some limitations that only 3 layers can be formed because CSS allows only two pseudo classes per element.
So, I tried to do the same but with a different and better approach, i.e. using box-shadow property. It removes the 3 layer limit by giving us the ability to create as many layers as you want. Its just box-shadows, nothing else.
It works in a simple way. Looking at the code, the first line in…

Related Deals

Related Posts