CSS Property Value How to - text-shadow: 0px 0px 3px orange;








Question

We would like to know how to text-shadow: 0px 0px 3px orange;.

Answer


<!--  w  w  w  . j  a  va  2 s . c  o  m-->
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
div {
  color: gray;
  text-shadow: 0px 0px 3px orange;
}
</style>
</head>
<body>
  <div>Hello World</div>
</body>
</html>

The code above is rendered as follows: