-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathShadows.html
More file actions
35 lines (29 loc) · 816 Bytes
/
Copy pathShadows.html
File metadata and controls
35 lines (29 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html>
<head>
<style>
* {
text-align: center;
font-family: monospace;
}
#text {
text-shadow: 2px 2px 1px blue;
color: red;
}
#box {
box-shadow: 5px 5px 9px black;
}
#indent {
text-indent: 50%;
/* 16px or -3em */
}
</style>
</head>
<body>
<h1 id="text">We can use text-shadow to give shadow to the text itself </h1>
<h2 id="box">Or use box shadow to give a shadow to the selected Element Directly</h2>
<div>
<p id="indent">This text text is an example of Text Indent.This text will have an indentation of 50% of its parent's width</p>
</div>
</body>
</html>