I am making a resume and I was wondering how to use google fonts in vs code. I downloaded the font but can't figure out how to link it.
CodePudding user response:
You don't need to download the font at all. All you need to do is:
- go to https://fonts.google.com
- select all the fonts you want to use by clicking on the plus button with "select this style".
- then, at the right side of the screen you can "use on web" click on import
- copy the @import line and paste it into your css
- to use the font, go to right again and down to the bottom, copy the font name.
- paste that in your code where you want to use it.
CodePudding user response:
Steps:
- search fonts on google fonts.
- Install fonts.
- Open Setting in Vs code editor.
- Go to .json file and Enter the installed fonts.