-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1.css
52 lines (51 loc) · 1009 Bytes
/
1.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
* {
margin: 0;
padding: 0;
}
.wrapper{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.typing-demo{
width:22em;
animation:typing 2s steps(22), blink 0.5s step-end infinite alternate;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid;
font-family: monospace;
font-size: 32px;
color:white;
}
@keyframes typing{
from{
width: 0;
}
}
@keyframes blink{
50%{
border-color:transparent
}
}
body {
width: 100vw;
height: 100vh;
background: linear-gradient(125deg, #2c3e50, #27ac60, #2980b9, #8e44ad)
no-repeat;
background-size: 400%;
animation: bganimation 15s infinite;
overflow: hidden;
scrollbar-width: none;
}
@keyframes bganimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}