-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
114 lines (94 loc) · 1.94 KB
/
style.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
body {
font-family: Trebuchet MS, sans-serif;
color: #fff;
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0px;
margin-inline-end: 0px;
padding-inline-start: 0px;
background-color: rgb(61 80 93);
position: absolute;
inset: 0;
}
h1 {
text-align: center;
}
b{
font-size: 15px;
}
input {
padding: 5px;
border: 1px solid #ccc;
border-radius: 5px;
margin-right: 10px;
}
label {
margin-right: 7px;
font-size: 20px;
}
button {
padding: 5px 10px;
background-color: #4CAF50;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
p {
margin-top: 20px;
font-size: 18px;
}
#result {
font-weight: bold;
font-size: 24px;
}
.d-flex {
display: flex;
justify-content: center;
}
.area{
background: #4e54c8;
background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
width: 100%;
height:100vh;
}
.forfooter
{
position: absolute;
bottom: 0;
width: 100%;
text-align: center;
}
.full {
width: 100%;
position: absolute;
height: 100%;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.gradient {
--size: 250px;
--speed: 50s;
--easing: cubic-bezier(0.8, 0.2, 0.2, 0.8);
width: var(--size);
height: var(--size);
filter: blur(calc(var(--size) / 5));
background-image: linear-gradient(#5ea78c, #4c436f);
animation: rotate var(--speed) var(--easing) alternate infinite;
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
@media (min-width: 720px) {
.gradient {
--size: 500px;
}
}
/* This is just to transition when you change the viewport size. */
* {
transition: all 0.25s ease-out;
}