-
Notifications
You must be signed in to change notification settings - Fork 0
/
FCcss.css
102 lines (85 loc) · 1.64 KB
/
FCcss.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
*{
box-sizing: border-box;
}
/* div{
border: 1px solid gray;
} */
body{
margin: 0;
padding: 0;
background-image: url(bg2.jpg);
background-repeat: repeat-y;
background-size: cover;
}
.header{
width: 100%;
padding: 30px;
text-align: center;
background-color: rgba(0, 0, 0, 0.507);
color: red;
}
.header h1{
font-family: "Audiowide", sans-serif;
}
h2{
font-family: 'Orbitron', sans-serif;
}
p{
font-family: 'Josefin Slab', serif;
font-weight: 900;
}
.mid{
width: 600px;
display: block;
margin: 30px auto;
}
img{
width: 600px;
height: 380px;
}
.flip-box{
background-color: transparent;
width: 600px;
height: 380px;
border: none;
perspective: 1000px;
float: middle;
}
.flip-box-inner{
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.8s;
transform-style: preserve-3d;
}
.flip-box:hover .flip-box-inner{
transform: rotateY(180deg);
}
.flip-box-front, .flip-box-back{
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.flip-box-back{
background-color: #555;
color: rgb(253, 80, 80);
padding-top: 20px;
transform: rotateY(180deg);
}
.footer{
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
padding: 20px 0;
background-color: rgba(0, 0, 0, 0.788);
color: red;
}
.footer p{
font-family: sans-serif;
font-size: 8pt;
font-weight: 300;
}