Just a little "Paper pile" effect with CSS3 and with one div. Live demo here, http://jsfiddle.net/peduarte/98Nwx/
BTW, if anyone has a better naming convention for this, let me know!
5 months ago
You don't actually need to use pseudoelements (:before, :after) to achieve this effect: you can do it using box-shadows.
Check it out
Hey Dan, yes you are right. I guess the only benefit of using pseudo classes is so it's compatible with IE8 too. Thanks.
keyboard shortcuts: ← previous shot → next shot L or F like
3 Responses
Just a little "Paper pile" effect with CSS3 and with one div.
Live demo here, http://jsfiddle.net/peduarte/98Nwx/
BTW, if anyone has a better naming convention for this, let me know!
5 months ago
You don't actually need to use pseudoelements (:before, :after) to achieve this effect: you can do it using box-shadows.
Check it out
5 months ago
Hey Dan, yes you are right. I guess the only benefit of using pseudo classes is so it's compatible with IE8 too.
Thanks.
5 months ago