-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss-index.css
More file actions
146 lines (99 loc) · 2.17 KB
/
css-index.css
File metadata and controls
146 lines (99 loc) · 2.17 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
*{
user-select: NONE;
}
body{
margin: 20;
background-color: black;
margin-left: 20px;
}
p{
line-height: 0.5px;
}
a{
font-size: 20px;
color: rgb(254, 251, 251);
line-height: 0.1x;
}
a:link{
text-decoration: none;
line-height: 0.1x;
background-color: transparent;
}
.flip-card {
background-color: transparent;
float: left;
width: 250px;
height: 200px;
border: 4px solid #f1f1f1;
padding: px;
margin: 3%;
perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
/* This container is needed to position the front and back side */
.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.8s;
transform-style: preserve-3d;
}
/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}
/* Position the front and back side */
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden; /* Safari */
backface-visibility: hidden;
}
/* Style the front side (fallback if image is missing) */
.flip-card-front {
background-color: #ffffff;
color: black;
}
/* Style the back side */
.flip-card-back {
background-color: rgb(10, 11, 11);
color: white;
transform: rotateY(180deg);
}
header{
display: flex;
justify-content: center;
}
header input{
background-color: rgb(232, 237, 235);
padding: 10px;
border: none;
border-radius: 5px;
transition: 0.2s;
}
header input:hover{
padding: 13px;
}
h2{
-webkit-text-stroke: .1vh #fffefe;
font-size: 5vw;
font-weight: bold;
text-align: center;
text-transform: uppercase;
background-image: url();
background-clip: text;
-webkit-background-clip: text;
color: transparent;
animation: text 10s ease alternate infinite;
transition-duration: 1s;
background-repeat: no-repeat;
}
@keyframes text{
from{
background-position: 10% 50%;
}
to{
background-position: 100% 50%;
}
}