Set both inset and outset box shadow using CSS

You need to separate them using a ,

div {
  margin: 50px;
  height: 100px;
  width: 100px;
  border: 1px solid #aaa;
  border-radius: 50%;
  box-shadow: inset 0 0 5px tomato, 0 0 5px black;
}
<div></div>

Demo

Demo 2 (Nothing different, but used white border for better indication)

So here in the above example, it sets the shadow inset with the tomato color, and the other set of rules separated using a comma is for outset i.e black shadow

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)