-
Notifications
You must be signed in to change notification settings - Fork 0
/
grid.css
140 lines (116 loc) · 1.76 KB
/
grid.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
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
.gridContainer {
width:1250px;
position:relative;
}
.gridParent {
position:relative;
width:40%;
height:100%;
}
button {
position:absolute;
top:50%;
right:50%;
}
.invis {
visibility: hidden;
}
.moving {
position:relative;
z-index:-1;
}
.gridImage {
filter:grayscale(100%);
margin-left:5px;
transition: filter 0.5s ease;
width:250px;
height:250px;
}
.colorize {
animation: colorize 0.20s linear;
animation-fill-mode: forwards;
}
.decolorize {
animation: decolorize 1s linear;
animation-fill-mode:forwards;
}
@keyframes decolorize {
from {
filter:grayscale(0%)
}
to {
filter:grayscale(100%);
/* color:black;
opacity:100%; */
}
}
@keyframes colorize {
from {
filter:grayscale(100%)
}
to {
filter:grayscale(0%);
}
}
.blur {
animation: blur 1s linear;
animation-fill-mode:forwards;
}
@keyframes blur {
from {
filter:blur(0)
}
}
.fadeOut {
animation: fadeOut 1s linear;
animation-fill-mode: forwards;
}
.fadeIn {
animation: fadeIn 0.5s linear;
animation-fill-mode: forwards;
}
.color {
filter:grayscale(0);
}
@keyframes fadeOut {
from {
opacity: 100%;
}
to {
opacity: 0%;
}
}
@keyframes fadeIn {
from {
opacity: 0%;
}
to {
opacity: 100%;
}
}
.faded {
opacity:0%;
}
.red {
position:absolute;
width:60%;
height:15%;
background-color:#c10206;
opacity:70%;
top: 25%;
right: 15%;
}
.aboutContainer {
width:100%;
display:flex;
justify-content: row;
align-items: center;
justify-content: right;
height:100%;
}
.heroText {
width:50%;
}
.heroText img {
width:500px;
}