-
Notifications
You must be signed in to change notification settings - Fork 0
/
tut34.html
45 lines (40 loc) · 1.12 KB
/
tut34.html
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
<!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 shawod and text shadow</title>
<style>
.container{
display: flex;
}
.class{
background-color: gray;
padding: 20px 12px;
margin: 20px 12px;
/* box-shadow: 10px 12px black; */
box-shadow: inset 3px 5px rgb(11, 70, 94);
}
.class h2{
text-shadow: 2px 3px white;
}
</style>
</head>
<body>
<div class="container">
<div class="class" id="class-1">
<h2>Card1</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cum, nam?</p>
</div>
<div class="class" id="class-2">
<h2>Card2</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cum, nam?</p>
</div>
<div class="class" id="class-3">
<h2>Card3</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Cum, nam?</p>
</div>
</div>
</body>
</html>