Ho Working To Import A Google Font Not Code Example


Example 1: css import google font not working


Try to put your import on the top of your file, before any declaration.

Example 2: fonts from google fonts do not work


<!-- This is an easy thing you need to do -->
<style>
/* I chose Orbitron, you can change it */
body {
font-family: 'Orbitron', sans-serif; /* this will change the font troughout the body, if you need help changing that, email me at ringgames04@gmail.com */
}
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;669&display=swap');
</style>
<div class="example">

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android SDK Location Should Not Contain Whitespace, As This Cause Problems With NDK Tools