-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
61 lines (56 loc) · 1.17 KB
/
styles.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
51
52
53
54
55
56
57
58
59
60
61
body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #f9f9f9;
overflow: hidden;
font-family: 'Abril Fatface', cursive;
}
.card {
font-size: 30px;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 180px;
height: 250px;
user-select: none;
border-radius: 10px;
box-shadow: 1px 1px 5px 1px rgba(150, 150, 150, 0.15);
background-color: #fff;
perspective: 800px;
position: absolute;
transform: rotateY(-15deg) rotateX(40deg);
/* transform: translate(101.712px, 98.0656px) rotate(382.537deg) rotateY(-15deg) rotateX(40.0003deg) scale(1.00001, 1); */
}
.symbol {
user-select: none;
font-size: 50px;
}
main {
position: relative;
perspective: 1200px;
width: 50%;
height: 50%;
}
.frame {
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
perspective: 800px;
transform-style: preserve-3d;
overflow: hidden;
}
.frame p {
font-size: 80px;
align-self: baseline;
position: absolute;
z-index: 9999;
text-transform: uppercase;
text-align: center;
user-select: none;
text-shadow: 0 0 2px rgba(100, 100, 100, 0.5);
}