I am using Google Open Sans fonts in an html page via:
<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
Only the font-weight: 600;
makes the font bold. Other values don't seem to make a difference. How to have intermediary font weights for this particular font using the CSS rules? Or must I use some other font?
Google Fonts: Open Sans It was optimized for print, web, and mobile interfaces, and has excellent legibility characteristics in its letterforms. In March 2021, the family has been updated to a variable font family and it also includes Hebrew, and unified and simplified the licensing under OFL.
The fonts are free to use, making beautiful type accessible to anyone for any project.
Open Sans is a “humanist” sans serif typeface. It was optimized for print, web and mobile interfaces, and has excellent legibility characteristics in its letterforms.
What you are using will only consist of 400
font weight font file. Inorder to get other font weight font files, you need to select font weights as well, like
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');
Note that the more font weights you use, the more time it will take to load these files. Inorder to add more font weights, follow the steps below.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With