Skip to content

Commit 4cf456a

Browse files
committed
add icons to input fields
1 parent 9db3c30 commit 4cf456a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

style.css

+30
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ img {
132132
box-shadow: 0 0 0 3px rgba(46, 196, 181, 0.1); /* x-offset | y-offset | blur | spread | color */
133133
}
134134

135+
select {
136+
appearance: none;
137+
/* background-image: url("img/dropdown.svg");
138+
background-repeat: no-repeat;
139+
background-position: 95% center; */
140+
background: url("img/dropdown.svg") 95% center no-repeat;
141+
}
142+
135143

136144
.btn {
137145
margin-bottom: 16px;
@@ -184,6 +192,28 @@ font weight - thin (300), normal/regular (400), semi-bold (500-600), bold (700),
184192
color: #011C34;
185193
}
186194

195+
input[type=number]::-webkit-outer-spin-button,
196+
input[type=number]::-webkit-inner-spin-button {
197+
/* appearance: none; */
198+
-webkit-appearance: none;
199+
moz-appearance: none;
200+
margin: 0;
201+
}
202+
203+
input[type="date"]::-webkit-inner-spin-button,
204+
input[type="date"]::-webkit-calendar-picker-indicator {
205+
display: none;
206+
-webkit-appearance: none;
207+
}
208+
209+
input[type="date"] {
210+
background: url("img/date.svg") 95% center no-repeat;
211+
}
212+
213+
input[type="password"] {
214+
background: url("img/eye.svg") 96% center no-repeat;
215+
}
216+
187217

188218
/* BUILDING FOR MOBILE RESPONSIVENESS */
189219

0 commit comments

Comments
 (0)