-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path34Box&TextShadow.html
More file actions
65 lines (58 loc) · 2.24 KB
/
34Box&TextShadow.html
File metadata and controls
65 lines (58 loc) · 2.24 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Box Shadow and Text Shadow</title>
<style>
.container{
display: flex;
}
.card{
border: 2px solid red;
padding: 23px 12px;
margin: 23px 12px;
background-color: beige;
/* syntax:- y-axis shadow x-axis blur-radis spread-radius shadow color */
/* Number positive hase to shadow box ni niche and right thase */
box-shadow: 10px 12px brown;
/* Number negative hase to shadow box ni upar and left thase */
box-shadow: -10px -12px brown;
/* blur radius */
/* shadow ne blur karva mate */
/* jm pixels vadhse tem blur vadhse */
box-shadow: 10px 12px 12px brown;
/* spread radius */
/* Use for shadow ketlo felavo 6 tena mate */
box-shadow: 10px 12px 12px 10px brown;
/* shadow box ni andar lava mate inset no use thay */
box-shadow: inset 10px 12px brown;
/* 1 thi vadhare color na shadow aapva hoy to */
box-shadow: -10px -12px brown, 5px 6px red;
}
.card h2{
/* text ne shadow apva mate */
/* syntax:- y-axis shadow x-axis blur shadow color */
text-shadow: 3px 2px rgb(122, 212, 12);
text-shadow: 3px 2px 8px rgb(122, 212, 12);
}
</style>
</head>
<body>
<div class="container">
<div class="card" id="card1">
<h2>Card1</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus, consectetur?</p>
</div>
<div class="card" id="card2">
<h2>Card2</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus, consectetur?</p>
</div>
<div class="card" id="card3">
<h2>Card3</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus, consectetur?</p>
</div>
</div>
</body>
</html>