-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
51 lines (47 loc) · 784 Bytes
/
style.css
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background: #ccc;
}
section{
margin-top: 100px;
}
.container{
padding: 0px 10%;
}
.Box{
position: relative;
width: 100%;
height: 300px;
background: #fff;
text-align: center;
line-height: 300px;
font-size: 60px;
}
.Box::after{
content: '';
position: absolute;
right: 20px;
bottom: 15px;
background:#777;
width: 50%;
height: 20px;
box-shadow: 0px 15px 10px #777;
z-index: -1;
transform: rotate(3deg);
}
.Box::before{
content: '';
position: absolute;
left: 20px;
bottom: 15px;
background:#777;
width: 50%;
height: 20px;
box-shadow: 0px 15px 10px #777;
z-index: -1;
transform: rotate(-3deg);
}