Answers for "how to add custom fonts to google font to your css file"

CSS
4

how to enter google fonts in 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

import google fonts into css

<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&lang=en" />
Posted by: Guest on March-06-2021

Code answers related to "how to add custom fonts to google font to your css file"

Browse Popular Code Answers by Language