CSS Property Value How to - text-shadow: 2px 2px 0 #fff;








Question

We would like to know how to text-shadow: 2px 2px 0 #fff;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
body {<!--  w ww  .jav  a2s  .c  o m-->
  background: #000
}

h1 {
  font-size: 25px;
  font-family: Arial;
  color: #F90;
  text-shadow: 2px 2px 0 #fff;
}
</style>
</head>
<body>
  <h1>Text with text-shadow</h1>
</body>
</html>

The code above is rendered as follows: