css3 - Setting box-shadow to a group of HTML elements -


i have 2 elements positioned sides touch. have different dimension/size on touching side. both of them need have shadow underneath.

the problem 1 of shadows overlaying sibling element. can play z-index means select of 2 overlaid sibling's shadow.

it great if 1 add shadow group of elements in case shadow rendered behind group without element interference , regardless of z-index vertical ordering.

is possible achieve similar effect in ccs3 without resorting shadow images?

maybe use

div:after { 

pseudo element

http://jsfiddle.net/2p964/

bit of mug method works :)


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -