Answers for "google fonts add in css"

13

add google font

CSS
@import url(https://fonts.googleapis.com/css?family=Roboto);

HTML
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto"/>

body{
  font-family: "Roboto";
}
Posted by: Guest on September-30-2020
0

how to setup google fonts in html and css

font-family: '<custom_font_you_selected>', <fallback_font>
Posted by: Guest on February-16-2021

Browse Popular Code Answers by Language