Friday, September 21, 2012

Set text shadow using CSS

Set text shadow using CSS


<!DOCTYPE html>
<html>
<head>
<style type="text/css">

h1 {
 font-size:250%; 
 color:#ff0000; 
 text-shadow: #000000 5px 5px 5px;}

h2 {
 font-size:200%; 
 color:green; 
 text-shadow: red 2px 2px 1px;}

p {
 font-size:100%; 
 color:rgb(0,0,255); 
 text-shadow: rgb(50,50,50) 2px 2px 5px;}
 
</style>
</head>

<body>
<h1>Mobile-Web-App</h1>
<h2>Example CSS Text</h2>
<p>http://mobile-web-app.blogspot.com/</p>
</body>

</html>


No comments:

Post a Comment