1@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
2font-family: 'Roboto', sans-serif;
1//html
2<link rel="preconnect" href="https://fonts.gstatic.com">
3<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
4
5//css
6@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
7
8font-family: 'Roboto', sans-serif;
1@font-face {
2 font-family: 'Roboto';
3 src: url('Roboto-ThinItalic-webfont.eot');
4 src: url('Roboto-ThinItalic-webfont.eot?#iefix') format('embedded-opentype'),
5 url('Roboto-ThinItalic-webfont.woff') format('woff'),
6 url('Roboto-ThinItalic-webfont.ttf') format('truetype'),
7 url('Roboto-ThinItalic-webfont.svg#RobotoThinItalic') format('svg'); (under the Apache Software License).
8 font-weight: 200;
9 font-style: italic;
10}