-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
69 lines (68 loc) · 1.47 KB
/
styles.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
/*// ©Copyright Mr.SGC //
***Proudly made in INDIA***
*/
body{
margin: 0;
padding: 0;
text-align: center;
font-family: sans-serif;
background-image: linear-gradient(120deg,#ff6600, #fff, #0e9901);
min-height: 100vh;
}
div{
width: 500px;
position: absolute;
top: 50%;
left: 50%;
background: linear-gradient(to right, #ff6600, #fff, #0e9901);
transform: translate(-50%, -50%);
padding: 20px;
border-radius: 10px;
box-shadow: 1px 1px 20px #0004ff;
}
h2{
font-size: 30px;
font-weight: 600;
}
.text{
text-align: left;
margin-left: 150px;
}
#w, #h{
color: #222f3e;
text-align: left;
font-size: 20px;
font-weight: 200;
outline: none;
border: none;
background: none;
border-bottom: 1px solid #341f97;
width: 200px;
}
#w:focus, #h:focus{
border-bottom: 2px solid #341f97;
width: 300px;
transition: 0.5s;
}
#result{
color: #2f00ff;
}
#btn{
font-family: inherit;
margin-top: 10px;
border: none;
color: rgb(0, 0, 0);
background-image: linear-gradient(120deg,#ff6600, #fff, #0e9901);
width: 150px;
padding: 10px;
border-radius: 30px;
outline: none;
cursor: pointer;
}
#btn:hover{
box-shadow: 1px 1px 10px #2f00ff;
}
#info{
font-size: 12px;
font-family: inherit;
}