+ 4

[Solved] Search icon on input

How to add search icon to an input

19th Nov 2020, 1:22 PM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
5 Antworten
19th Nov 2020, 2:26 PM
Calviղ
Calviղ - avatar
+ 3
Its a bit of trick actually, you have to use UNICODE values if you are using font-awesome. Otherwise, you could have a <div> styled to be as close to the input box as possible. Another way would be to use opacity and absolute position to put one element on top of another and use JS to manipulate the input.
19th Nov 2020, 2:14 PM
Akib
Akib - avatar
19th Nov 2020, 1:46 PM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
+ 2
Ok thanks Akib Reza
19th Nov 2020, 2:17 PM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar
+ 2
Thanks Calviղ
19th Nov 2020, 2:27 PM
LordOfThunder [Inactive]
LordOfThunder [Inactive] - avatar