How can I use my own icons on a html page? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I use my own icons on a html page?

For <nav> , off-canvas

30th Aug 2018, 10:17 AM
Hesam
Hesam - avatar
8 Answers
0
Create a css for it then but it will take you some time. You're trying to create your own framework here.
30th Aug 2018, 4:04 PM
Sam Pache
Sam Pache - avatar
+ 1
download fa-icons and look at the code, do the same with your images
31st Aug 2018, 12:10 AM
Sam Pache
Sam Pache - avatar
0
What do you mean by 《your icons》 ?
30th Aug 2018, 10:53 AM
Sam Pache
Sam Pache - avatar
0
The icons which I designed them. & now I want to use them in my webpage.
30th Aug 2018, 3:30 PM
Hesam
Hesam - avatar
0
import them as img then I guess : <img src="path/to/img.png" alt="imgName" />
30th Aug 2018, 3:33 PM
Sam Pache
Sam Pache - avatar
0
I know that. I want to have a shortcut link that whenever I want use the icons I should just write the name of my icon, like fafa icons
30th Aug 2018, 3:41 PM
Hesam
Hesam - avatar
0
how can I do that
30th Aug 2018, 6:01 PM
Hesam
Hesam - avatar
0
thank you so much
31st Aug 2018, 1:48 AM
Hesam
Hesam - avatar