CSS में text-shadow
property का use text में shadow देने के लिए किया जाता है।
Syntax
p{
text-shadow : 3px 3px;
}
Example of text-shadow
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS text-shadow example</title>
</head>
<p style="text-shadow : 3px 3px;font-size:30px">This is example of text shadow</p>
<body>
</body>
</html>
HTMLThis is example of text shadow
How to add color on text shadow?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS text-shadow example</title>
</head>
<p style="text-shadow : 3px 3px red;font-size:30px">This is example of text shadow</p>
<p style="text-shadow : 3px 3px gold;font-size:30px">This is example of text shadow</p>
<p style="text-shadow : 3px 3px green;font-size:30px">This is example of text shadow</p>
<body>
</body>
</html>
HTMLThis is example of text shadow
This is example of text shadow
This is example of text shadow