Wednesday, June 20, 2012

css exercise: text shadow

Example to apply shadow on text with css.

text-shadow: x y blur-amount colour;


css exercise: text shadow


<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Mobile-Web-App: test css</title>
<style>

h1{
 text-shadow: 10px 10px 15px #aaa;
 color: #000;
 font: 200% Arial;
 font-weight: bold;
 
}

</style>
</head>
<body>
<h1>Mobile-Web-App: CSS Exercise - text shadow</h1>

</body>
</html>


No comments:

Post a Comment