Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Triangular div css shadows

I'm using css transforms to fold a triangular div onto another. I want to make the triangular div drop a shadow on the one below it so that the fold looks realistic. I tried different ways to apply the box shadow on the div, but it did not work the way I want it to.

Here is my code so far : http://jsfiddle.net/wgLcB/2/

Anyone knows how to do this?

like image 902
zacropetricopus Avatar asked Sep 23 '12 20:09

zacropetricopus


1 Answers

Are you trying to achieve something like this?

like image 60
Ana Avatar answered Nov 12 '22 23:11

Ana