-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (83 loc) · 1.48 KB
/
style.css
File metadata and controls
84 lines (83 loc) · 1.48 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.container{
width: 100%;
height: 100vh;
background: #2b2b2b;
display: flex;
align-items: center;
justify-content: center;
}
.card{
width: 380px;
perspective: 1000px;
cursor: pointer;
}
.card-inner{
position: relative;
width: 100%;
text-align: center;
transform-style: preserve-3d;
transition: transform 1s;
}
.front-face{
backface-visibility: hidden;
}
.front-face img{
width: 100%;
border-radius: 10px;
}
.back-face{
backface-visibility: hidden;
background: #c62600;
color: #fff;
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
border-radius: 10px;
display: flex;
justify-content: center;
justify-content: center;
flex-direction: column;
transform: rotateY(180deg);
}
.back-face h2{
font-size: 50px;
margin-top: 10px;
font-weight: 600;
}
.back-face p{
font-size: 26px;
font-weight: 300;
}
.social-media i{
color: #fff;
width: 40px;
height: 40px;
line-height: 40px;
font-size: 18px;
background: #e43a00;
border-radius: 50%;
margin: 25px 6px;
}
.social-media a{
text-decoration: none;
}
.btn{
color: #333;
font-size: 20px;
text-decoration: none;
background: #fff;
padding: 10px 50px;
border-radius: 25px;
margin: 80px auto 0;
}
.card:hover .card-inner{
transform: rotateY(-180deg);
}