+ 11

How to put an icon inside the input?

How to put an icon inside the input

14th Feb 2020, 12:15 AM
Ismaeil Alrewany
Ismaeil Alrewany - avatar
9 Réponses
+ 10
I mean icons, for example, that are in the search box or that are sometimes found when entering the name and mail, you find an icon in the form of a user..
14th Feb 2020, 5:17 AM
Ismaeil Alrewany
Ismaeil Alrewany - avatar
+ 10
I want to use (font-awesome)
14th Feb 2020, 9:41 AM
Ismaeil Alrewany
Ismaeil Alrewany - avatar
14th Feb 2020, 11:32 AM
Ismaeil Alrewany
Ismaeil Alrewany - avatar
+ 5
You can use a cdn for example(Font awesome) : <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
14th Feb 2020, 7:39 PM
Cmurio
Cmurio - avatar
+ 3
Icon for the title of the page?
14th Feb 2020, 2:00 AM
Avinesh
Avinesh - avatar
+ 3
‎إسماعيل الرويني‎ I believe there are others here who can better advise you on that idea. I'm just gonna share what I found from a web search, in a hope it helps you to get started 👍 https://www.mockplus.com/blog/post/search-bar-design https://www.codeofaninja.com/2014/03/textbox-with-search-icon-in-html-css.html P.S. Please mind copyright notices for codes in codepen. Although if you copy for study purpose (not to claim over), I guess it's okay.
14th Feb 2020, 6:29 AM
Ipang
+ 2
Did you mean something like a magnifier icon in a search input box? Please clarify your intention.
14th Feb 2020, 4:20 AM
Ipang
+ 2
Use background-image: attribute
14th Feb 2020, 9:31 AM
JAYANTHI SAI GOPAL
JAYANTHI SAI GOPAL - avatar
+ 2
sajdh
26th Feb 2020, 7:11 PM
نصر أبوسلعوم
نصر أبوسلعوم - avatar