Answers for "open sans font file"

CSS
3

open sans css

/* copy paste it in your .css file*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap");

/* copy paste it in your .html or .php file*/
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap" rel="stylesheet" type="text/css">
Posted by: Guest on May-29-2021
1

open sans font

//This is from google fonts
// to use import 
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
//to use link in head tag
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans" rel="stylesheet">
Posted by: Guest on June-12-2021

Browse Popular Code Answers by Language