import google font css
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
.generic_class {
font-family: 'Open Sans', sans-serif;
}
import google font css
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
.generic_class {
font-family: 'Open Sans', sans-serif;
}
scss import font from google
// Google Fonts
@import url(http://fonts.googleapis.com/css?family=Roboto+Slab|Open+Sans:400italic,700italic,400,700);
// Font Variables
$roboto-slab: 'Roboto Slab', serif;
$open-sans: 'Open Sans', sans-serif;
// Styles
body {
font-family: $body-font;
font-weight: normal;
}
h1, h2, h3, h4, h5, h6 {
font-family: $header-font;
font-weight: normal;
}
.button {
font-family: $roboto-slab;
font-weight: bold;
}
how to import google font
<!-- To Add Montserrat font or any font as such -->
<!-- Go to https://fonts.google.com browse the font you like here, Montserrat-->
<!-- On the right click embbed and get the link similar to one given below-->
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
<!-- add this ^ link inside your <head> tag i.e. before </head> -->
<!-- In css you can specify the font family as -->
font-family: "Montserrat", sans-serif;
import google fonts into css
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&lang=en" />
embed google font css
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&lang=en" />
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us