Answers for "how to link a google font in css"

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
0

how to setup google fonts in html and css

font-family: '<custom_font_you_selected>', <fallback_font>
Posted by: Guest on February-16-2021

Code answers related to "how to link a google font in css"

Browse Popular Code Answers by Language