Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS text-shadow property</title> <style> h1 { text-shadow: 2px 2px 5px #000; } p { text-shadow: 1px 1px 2px rgba(0,0,0,0.5); } </style> </head> <body> <h1>Text-shadow Effect</h1> <p><strong>Warning:</strong> Internet Explorer 9 and earlier versions don't support the <code>text-shadow</code> property.</p> </body> </html>