scss import font from google

Solutions on MaxInterview for scss import font from google by the best coders in the world

showing results for - "scss import font from google"
Alberto
21 Nov 2018
1// Google Fonts
2@import url(http://fonts.googleapis.com/css?family=Roboto+Slab|Open+Sans:400italic,700italic,400,700);
3
4// Font Variables
5$roboto-slab: 'Roboto Slab', serif;   
6$open-sans: 'Open Sans', sans-serif;
7
8// Styles
9body {
10  font-family: $body-font;
11  font-weight: normal;
12}
13h1, h2, h3, h4, h5, h6 {
14  font-family: $header-font;
15  font-weight: normal;
16}
17
18.button {
19  font-family: $roboto-slab;
20  font-weight: bold;
21}