Icons

Joined
Dec 21, 2022
Messages
2
Reaction score
0
hi i just started coding in vs code and i know very little. I can't make my icons like chevron_left or chevron_right to show on my website. I downloaded the from fonts.google.com/icons and i don't even know where should the downloaded file go to. I also thought maybe i needed an icon extension for vs code. Thanks.
 
Joined
Mar 11, 2022
Messages
226
Reaction score
32
Well there is an explanation for you.

First thing to do: Load this font in your page somewhere between <head> and </head>
Code:
<link 
rel="stylesheet" 
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200"
 />

Then use that whereever you want
Code:
<span class="material-symbols-outlined">
chevron_right
</span>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top