Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 498 Bytes

File metadata and controls

17 lines (16 loc) · 498 Bytes

Troubleshooting

Google Fonts Roboto

Google Fonts has changed their UI. To load the Roboto font, copy-paste this code into your <head> element:

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">

Then, use it in your CSS:

.classname {
  font-family: Roboto;
  ...
}