Is it possible to apply external and internal shadow effect to a box in css3?

1

For example, I want to add an internal and external shadow effect to a menu button, is it possible? I applied once but one removed the other!

    
asked by anonymous 16.02.2015 / 16:19

1 answer

3

Yes, just use a comma:

div {
  width: 100px;
  height: 100px;
  box-shadow: 5px 5px 5px #000, inset 0 0 10px #000;
}
<div></div>
    
16.02.2015 / 16:23