CSS Property Value How to - box-shadow: inset 0px 3px 0px yellow, inset 0px -3px 0px darkred, -3px -4px -0px blue;








Question

We would like to know how to box-shadow: inset 0px 3px 0px yellow, inset 0px -3px 0px darkred, -3px -4px -0px blue;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#test {<!--from w  ww .  j av  a2  s  . co m-->
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: blue;
  box-shadow: inset 0px 3px 0px yellow, inset 0px -3px 0px darkred, -3px -4px -0px blue;
}

</style>
</head>
<body>
  <div id="test"></div>
</body>
</html>

The code above is rendered as follows: