@MihaiChirilov
Posted
I have also used the @import option to import the font in the .css file. @import url('https://fonts.googleapis.com/css2?family=Outfit:[email protected]&display=swap');
It is less code to write and it makes sense to have the font import inside the global .css file. If you would like to use the same font on different html pages, you would have to import them on each page.
Marked as helpful
@DanCodeCraft
Posted
@MihaiChirilov I'm totally not familiarized with the @import option! I will check it out. Thanks a lot!