Text-Shadow Effects in CSS3
Here we specify the Text Shadow Effects in CSS3.
- <html>
-
- <head>
- <style type="text/css">
- h1
- {
- text-shadow: 2px 3px 3px #FF00FF;
- }
- </style>
- </head>
-
- <body>
- <h1>My Name is Mahak</h1>
- </body>
-
- </html>
text-shadow: 2px 3px 3px #FF00FF;
Here we specify the horizontal shadow, the vertical shadow, the blur distance, and the color of the shadow.