Answers for "how to use css to specify a new google font style"

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
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 use css to specify a new google font style"

Browse Popular Code Answers by Language