+ 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
16 Antworten
+ 10
Add this above your input tag
<i class="fa fa-search"/>
+ 6
Check it again
Used ::before on the wrapper instead of adding new <i> element
+ 5
<input type="text" placeholder="" style="font-family:FontAwesome" />
https://code.sololearn.com/W8FzwJs1ej34/?ref=app
+ 3
What's the icon you want to display?
+ 1
Burey Thank you 👍
0
Calviղ Search icon
0
Burey I want to put it inside the input field : /
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
0
Calviղ Naviya Burey ,
I want to make something like this
https://drive.google.com/file/d/1sp_M2TxV_wKiINPM0LNBfS0Fm4hI2xfl/view?usp=drivesdk
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.
0
H
0
set the font size of a paragraph 15px
0
can anybody help wirh that
0
ban