+ 2

Font awesom

I'm try to put search icon inside input field, put nothing appear. What's the problem?. Here is the code : https://code.sololearn.com/WYeAR6Tlm1cf/?ref=app

27th Apr 2019, 8:02 AM
Aya Habeeb
Aya Habeeb - avatar
16 Antworten
+ 10
Add this above your input tag <i class="fa fa-search"/>
27th Apr 2019, 8:21 AM
Burey
Burey - avatar
27th Apr 2019, 10:50 AM
Burey
Burey - avatar
+ 6
Check it again Used ::before on the wrapper instead of adding new <i> element
27th Apr 2019, 10:58 AM
Burey
Burey - avatar
+ 5
<input type="text" placeholder="&#xF002;" style="font-family:FontAwesome" /> https://code.sololearn.com/W8FzwJs1ej34/?ref=app
27th Apr 2019, 8:58 AM
Calviղ
Calviղ - avatar
+ 3
What's the icon you want to display?
27th Apr 2019, 8:16 AM
Calviղ
Calviղ - avatar
+ 1
Burey Thank you 👍
27th Apr 2019, 10:54 AM
Aya Habeeb
Aya Habeeb - avatar
0
Calviղ Search icon
27th Apr 2019, 8:16 AM
Aya Habeeb
Aya Habeeb - avatar
0
Burey I want to put it inside the input field : /
27th Apr 2019, 8:22 AM
Aya Habeeb
Aya Habeeb - avatar
0
Naviya If I want to put it in the left, when I try to write in the field the icon will cover the text
27th Apr 2019, 10:05 AM
Aya Habeeb
Aya Habeeb - avatar
27th Apr 2019, 10:35 AM
Aya Habeeb
Aya Habeeb - avatar
0
Open the font awesome page , u will see a list of all their fonts, you can copy the html tags, this is in case u want to add another font asides search. The html format are usually in this tag format <i class=" fa fa-search"/> the sizes exists in "fa-lg" "fa-2x"..." fa-5x" put in the class attribute. To change colors, they take css-normal inline style.
10th May 2019, 3:51 PM
Bolaji Olayinka
Bolaji Olayinka - avatar
0
H
20th Apr 2020, 1:57 PM
تركي تركي
0
set the font size of a paragraph 15px
9th Jun 2020, 7:03 AM
Martin
Martin - avatar
0
can anybody help wirh that
9th Jun 2020, 7:04 AM
Martin
Martin - avatar
0
ban
8th Mar 2021, 11:06 AM
FR4 | FARA4AN
FR4 | FARA4AN - avatar