-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (87 loc) · 1.53 KB
/
style.css
File metadata and controls
87 lines (87 loc) · 1.53 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
85
86
87
body, html{
color: #fff;
height:100%;
align-items: center;
margin: 0;
}
.header{
background-color: #2980b9;
height: 300px;
width: 100%;
text-align: center;
font-size: 100px;
font-weight: bold;
line-height: 2;
}
.body{
border: #FFF 1px solid;
padding: 0px;
position: relative;
margin: auto;
}
.inner{
padding: 15px;
display: flex;
flex-direction: column;
}
h1{
font-size: 40px;
font-family: Perpetua;
}
p{
font-size: 30px;
font-family: Perpetua;
}
button{
border-radius: 50%;
background-color: #FFF;
}
.container{
width: 50%;
min-height: 60%;
margin-left: 25%;
margin-top: -100px;
text-align: center;
position: absolute;
background-color: #FFF;
box-shadow: 0px 0px 5px rgba(0,0,0,.1);
}
.fa{
font-size: 40px;
}
.footer{
position: absolute;
bottom: 0;
width: 100%;
background-color: #00000063;
opacity: 0.7;
padding: 5px 0px;
}
.flip-card{
width: 50%;
min-height: 60%;
margin-left: 25%;
margin-top: -100px;
text-align: center;
position: absolute;
background-color: #FFF;
box-shadow: 0px 0px 5px rgba(0,0,0,.1);
}
.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.8s;
transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden; /* Safari */
backface-visibility: hidden;
}