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

Asked

Viewed 60 times

1

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

1 answer

3

Yeah, just use a comma:

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.