Answers for "google fonts import roboto"

CSS
17

google font roboto

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
font-family: 'Roboto', sans-serif;
Posted by: Guest on August-10-2020
5

google fonts roboto

//html
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
  
//css
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
 
font-family: 'Roboto', sans-serif;
Posted by: Guest on December-22-2020

Browse Popular Code Answers by Language