Text shadow using CSS - HTML CSS CSS Property

HTML CSS examples for CSS Property:text-shadow

Description

Text shadow using CSS

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <style>
.bg {<!--  w ww  . j ava 2  s  .  c o m-->
   background-color:Chartreuse;
   width:201px;
   height:auto;
}

.title {
   padding:11px 23px;
   font-size:56px;
   font-family:sans-serif;
   text-shadow:11px 7px 8px yellow !important;
   opacity:0.3;
}
</style> 
 </head> 
 <body translate="no"> 
  <div class="bg"> 
   <h1 class="title">Lorem</h1> 
  </div>  
 </body>
</html>

Related Tutorials