Answers for "add google font to stylesheet"

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

Browse Popular Code Answers by Language