-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (110 loc) · 2.28 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background-image: linear-gradient(-225deg, #AC32E4 0%, #7918F2 48%, #4801FF 100%);
display: flex;
justify-content: center;
font-family: 'Roboto', sans-serif;
align-items: center;
height: 100vh;
}
.container{
background: linear-gradient(#FF4331, #D31A50);
padding: 20px;
border-radius: 5px;
width: 350px;
}
h1{
font-size: 30px;
letter-spacing: 1px;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.form-control{
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
color: #fff;
border-bottom: 1px solid #eee;
}
.form-control label{
cursor: pointer;
}
.header{
position: relative;
}
.header input{
width: 100%;
height: 100%;
background: rgb(68, 68, 68);
padding: 14px;
color: #fff;
outline: none;
border: none;
border-radius: 4px;
font-size: 16px;
}
.header button,
.form-control input[type=number]{
padding: 3px 5px;
background-color: #eee;
outline: none;
border: none;
border-radius: 3px;
}
.header button{
position: absolute;
padding: 11px;
font-size: 21px;
right: 0;
cursor: pointer;
color: rgb(41, 41, 41);
}
#submit{
width: 100%;
padding: 15px;
margin-top: 10px;
background: #222222;
font-size: 18px;
font-family: 'Nunito', sans-serif;
font-weight: 600;
outline: none;border: none;
border-radius: 3px;
color: #fff;
cursor: pointer;
transition: .3s;
display: inline-block;
}
#submit:hover{
background: rgb(0, 0, 0);
}
#submit span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
#submit span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: -8px;
font-size: 28px;
right: -20px;
transition: 0.5s;
}
#submit:hover span {
padding-right: 25px;
}
#submit:hover span:after {
opacity: 1;
right: 0;
}