• Register
100 points
5

Box-shadow property usually uses four or three parameters for creating the shadow outside of the box.

  1. X coordinate
  2. Y coordinate
  3. Blur
  4. Color
#btn1 {
  box-shadow: 9px 10px 7px red;
}

But inset keyword used when we want shadow inside the box.In other words, you can say that inset is used interior shadow of box. 

Code

#btn1{
    box-shadow: inset 5em 1em 0.5em red;
}

 

100 points
5