-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex2.css
More file actions
90 lines (80 loc) · 2.99 KB
/
Copy pathindex2.css
File metadata and controls
90 lines (80 loc) · 2.99 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
html, body{
padding: 0;
margin: 0;
}
.outer_container{
background-color: black;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
width: 100%;
min-height: 100vh;
}
.heading{
font-size: 4.5rem;
font-family: 'Times New Roman', Times, serif;
color: black;
animation: shadow 5s linear infinite;
letter-spacing: 1rem;
}
@keyframes shadow{
0%{
text-shadow: 0px 0px 10px #00ef00, 0px 0px 10px #1100ff,0px 0px 10px #00ef00, 0px 0px 10px #1100ff, 0px 0px 10px #00ef00, 0px 0px 10px #1100ff, 0px 0px 10px #00ef00, 0px 0px 10px #1100ff;
}
50%{
text-shadow: 0px 0px 35px #00ef00, 0px 0px 35px #1100ff,0px 0px 35px #00ef00, 0px 0px 35px #1100ff, 0px 0px 35px #00ef00, 0px 0px 35px #1100ff, 0px 0px 35px #00ef00, 0px 0px 35px #1100ff, 0px 0px 35px #00ef00, 0px 0px 35px #1100ff;
}
100%{
text-shadow: 0px 0px 10px #00ef00, 0px 0px 10px #1100ff,0px 0px 10px #00ef00, 0px 0px 10px #1100ff, 0px 0px 10px #00ef00, 0px 0px 10px #1100ff, 0px 0px 10px #00ef00, 0px 0px 10px #1100ff;
}
}
.container2{
display: flex;
flex-direction: row;
gap: 25vw;
}
.option{
height: 45vh;
width: 45vh;
font-size: 20vw;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: 0.3s linear;
border-radius: 5px;
}
.option:nth-child(1){
animation: choice1 4s linear infinite;
box-shadow: 0px 0px 10px 1px #f50101;
}
.option:nth-child(2){
animation: choice2 4s linear infinite;
box-shadow: 0px 0px 10px 1px #019cf5;
}
.option:hover{
scale: 1.15;
}
@keyframes choice1{
0%{
text-shadow: 0px 0px 10px #f50101, 0px 0px 10px #ff00dd,0px 0px 10px #f50101, 0px 0px 10px #ff00dd, 0px 0px 10px #f50101, 0px 0px 10px #ff00dd, 0px 0px 10px #f50101, 0px 0px 10px #ff00dd;
}
50%{
text-shadow: 0px 0px 35px #f50101, 0px 0px 15px #ff00dd,0px 0px 15px #f50101, 0px 0px 15px #ff00dd, 0px 0px 15px #f50101, 0px 0px 15px #ff00dd, 0px 0px 15px #f50101, 0px 0px 15px #ff00dd, 0px 0px 15px #f50101, 0px 0px 15px #ff00dd;
}
100%{
text-shadow: 0px 0px 10px #f50101, 0px 0px 10px #ff00dd,0px 0px 10px #f50101, 0px 0px 10px #ff00dd, 0px 0px 10px #f50101, 0px 0px 10px #ff00dd, 0px 0px 10px #f50101, 0px 0px 10px #ff00dd;
}
}
@keyframes choice2{
0%{
text-shadow: 0px 0px 10px #01f5ed, 0px 0px 10px #0051ff,0px 0px 10px #01f5ed, 0px 0px 10px #0051ff, 0px 0px 10px #01f5ed, 0px 0px 10px #0051ff, 0px 0px 10px #01f5ed, 0px 0px 10px #0051ff;
}
50%{
text-shadow: 0px 0px 35px #01f5ed, 0px 0px 15px #0051ff,0px 0px 15px #01f5ed, 0px 0px 15px #0051ff, 0px 0px 15px #01f5ed, 0px 0px 15px #0051ff, 0px 0px 15px #01f5ed, 0px 0px 15px #0051ff, 0px 0px 15px #01f5ed, 0px 0px 15px #0051ff;
}
100%{
text-shadow: 0px 0px 10px #01f5ed, 0px 0px 10px #0051ff,0px 0px 10px #01f5ed, 0px 0px 10px #0051ff, 0px 0px 10px #01f5ed, 0px 0px 10px #0051ff, 0px 0px 10px #01f5ed, 0px 0px 10px #0051ff;
}
}