-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtimer.css
139 lines (120 loc) · 2.24 KB
/
timer.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
body{
background-color: rgb(78, 112, 184);
}
.Outer{
display: flex;
align-items: center;
justify-content: center;
top: 10%;
position: absolute;
}
.wrapper{
width: 1000px;
height: 500px;
background-color:rgba(4, 4, 39, 0.959);
outline: 2px solid rgb(0, 0, 0);
box-shadow: 10px 10px 15px rgba(12, 23, 83, 0.959);
}
.heading{
margin: 3px;
padding-top: 50px;
}
.head{
padding-top: 0;
justify-content: space-evenly;
align-items: center;
}
h1{
font-size: 3rem;
color: silver;
font-weight: 1000;
padding-bottom: 10px;
text-decoration: none;
font-family: 'Pacifico', cursive;
}
a{
text-decoration: none
}
.head{
padding-top: 50px;
}
#timer::after{
content: " ";
width: 20%;
height: 4px;
background-color: silver;
border-radius: 3px;
position: absolute;
top: 120px;
right: 7%;
transform: translateX(-50%);
transition: linear 2s ease-in-out 0;
}
.timecont{
position: relative;
justify-content: center;
align-items: center;
top: 10%;
}
.timecont div{
color:rgb(110, 136, 192) ;
margin-left: 10px;
margin-right: auto;
border-radius: 50%;
height: 200px;
width: 200px;
border: 5px solid white;
animation: time 5s ease-in-out infinite forwards;
}
hr{
color: white;
height: 4px;
}
@keyframes time{
0%{
border-color: yellow;
}
25%{
border-color: red;
}
50%{
border-color: blue;
}
75%{
border-color: green;
}
100%{
border-color: white;
}
}
.timecont h5{
font-size: 5rem;
}
.timecont h3{
font-size: 1.5rem;
}
span{
font-size: 60px;
font-weight: 500;
color: rgb(54, 80, 136) ;
}
.btn-wrap{
position: relative;
top: 15%;
left: 60%;
}
button{
text-transform: uppercase;
height: 40px;
width: 150px;
border: 0;
outline: 0;
border-radius: 10px;
margin: 10px;
margin-top: 40px;
font-size: 1.5rem;
padding: 2px 5px;
background-color: rgba(112, 152, 240, 0.856);
font-weight: 500;
text-shadow:1px 1px 2px grey ;
}