Answers for "how to add google fonts to html and css"

CSS
7

add google font html

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro"> [Replace your font with the Source Code Pro font.]
Posted by: Guest on March-24-2021
4

import google font css

@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
.generic_class {
	font-family: 'Open Sans', sans-serif;
}
Posted by: Guest on November-10-2020
0

font for css code google link

@import url(https://fonts.googleapis.com/css?family=Open+Sans);

body{
   font-family: 'Open Sans',serif;
}
Posted by: Guest on August-24-2020
1

use google font in html

body {
    font-family: '*Insert google font';font-size: 22px;
}
Posted by: Guest on March-02-2020

Code answers related to "how to add google fonts to html and css"

Browse Popular Code Answers by Language