This repository was archived by the owner on May 11, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhome-animation.css
More file actions
147 lines (138 loc) · 4.46 KB
/
home-animation.css
File metadata and controls
147 lines (138 loc) · 4.46 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
147
@media screen and (max-width: 900px){
.welcomeimg{
background: url(images/home.jpg) no-repeat center;
background-size: cover;
height: 550px;
position: relative;
filter: blur(3px);
-webkit-filter: blur(3px);
}
.centered{
top: 50%; left: 50%; transform: translate(-50%, -50%);
position: absolute;
}
.centered h1, .centered h4{
text-align: center;
color: black;
}
.welcomeimgpc{
display: none;
}
}
@media screen and (min-width: 900px){
.centered h1{
text-align: center;
padding-left: 10%;
/* isolation: unset; */
color: rgb(255, 50, 0);
}
.centered h4{
text-align: center;
padding-left: 10%;
/* isolation: unset; */
color: rgb(0, 217, 255);
}
.welcomepc{
display: grid;
grid-template-columns: repeat(2, 1fr);
justify-items: center;
align-items: center;
padding: 5%;
}
}
/* image animation */
/* @media screen and (min-width: 900px){
.welcomeimgpc{
animation: slide-left 0.4s ease;
}
@keyframes slide-left{
0% {
opacity: 0;
transform: translateX(50px);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
} */
/* text animation */
.centered h4{
display:inline-block;
overflow:hidden;
white-space: nowrap;
}
.centered h4 #copy {
/* animation: showup 7s; */
display:inline-block;
overflow:hidden;
white-space: nowrap;
}
.centered h4 #name {
/* animation: reveal1 7s; */
display:inline-block;
overflow:hidden;
white-space: nowrap;
}
/* .centered h4 #name span {
animation: slidein 7s;
} */
/* @media screen and (min-width: 900px){
@keyframes showup {
0% {opacity:0;}
20% {opacity:1;}
80% {opacity:1;}
100% {opacity:1;}
} */
/* @keyframes slidein {
0% { margin-left:-800px; }
20% { margin-left:-800px; }
35% { margin-left:0px; }
100% { margin-left:0px; }
} */
/* @keyframes reveal1 {
0% {opacity:0;width:0px;}
20% {opacity:1;width:0px;}
30% {width:152.5px;}
80% {opacity:1;}
100% {opacity:1;width:152.5px;}
}
} */
/* .centered #start-line{ */
/* background: 50% 100% / 50% 50% no-repeat radial-gradient(ellipse at bottom, rgb(255, 50, 0), transparent, transparent); */
/* -webkit-background-clip: text; */
/* background-clip: text; */
/* color: transparent; */
/* font-family: "Source Sans Pro", sans-serif; */
/* animation: reveal 1s ease-out 1 both */
/*ease-in-out forwards 200ms*//*, glow 2500ms linear infinite 2000ms -- glow animation removed*/
/* ; */
/* display: inline-block; */
/* } */
/* @media screen and (min-width: 900px){
@keyframes reveal {
from{
opacity: 0;
transform: perspective(500px) translate3d(-35px, -40px, -150px) rotate3d(1, -1, 0, 35deg);
}
to{
opacity: 1;
transform: perspective(500px) translate3d(0, 0, 0);
}
} */
/* @keyframes glow { -- glow animation removed
40% {
text-shadow: 0 0 8px rgb(255, 50, 0);
}
} */
/* } */
/* @media screen and (max-width: 900px){
@keyframes glow {
40% {
text-shadow: 0 0 8px rgb(0, 0, 0);
}
}
#name, #copy{
font-weight: 500;
}
} */