Answers for "roboto font link for css"

CSS
6

css roboto font

<head>
	<link rel="preconnect" href="https://fonts.gstatic.com">
	<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
</head>

<style>
  body{
      font-family: 'Roboto', sans-serif;
  }
</style>
Posted by: Guest on February-16-2021
10

roboto font

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
  font-family: 'Roboto', sans-serif;
}
Posted by: Guest on December-01-2020

Browse Popular Code Answers by Language