Monday, December 5, 2011

CSS example: text-shadow

CSS example: text-shadow
<!DOCTYPE html>
<html>
<head>
<title>Basic jQuery Mobile Web Page</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/latest/jquery.mobile.css" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>

</head>
<body>

<div data-role="page" id="home">
<div data-role="header">
<h1>text-shadow </h1>
</div>
<div data-role="content">
<p>CSS example: text-shadow</p>
<p style="text-shadow: red 1px 1px 1px">text-shadow: red 1px 1px 1px</p>
<p style="text-shadow: #00ff002px 2px 1px">text-shadow: #00ff00 2px 2px 1px</p>
<p style="text-shadow: #0000ff 3px 3px 5px">text-shadow: #0000ff 3px 3px 5px</p>
<p style="text-shadow: 3px 3px 10px #0000ff">text-shadow: 3px 3px 10px #0000ff</p>
<p style="text-shadow: 3px 3px 30px #0000ff">text-shadow: 3px 3px 30px #0000ff</p>
</div>
<div data-role="footer">
<h4><a href="http://mobile-web-app.blogspot.com/">http://mobile-web-app.blogspot.com/</a></h4>
</div>
</div>

</body>
</html>

No comments:

Post a Comment