S
S
seredaes2015-08-27 14:00:28
Google
seredaes, 2015-08-27 14:00:28

I connected the google font and it is displayed differently everywhere, what should I do?

32634bd2f2574d0aa685f7cc32f5e92c.png
Snapshot from Safari
8219aab77ca746089ae8d1cf68ec643c.png
Snapshot from Chrome + Mozilla Firefox
Connected like this:
< link href=' https://fonts.googleapis.com/css?family=Open+Sans:400 ,300,300italic,400italic,600,600italic,700,700italic,800,800italic&subset =latin,cyrillic' rel='stylesheet' type='text/css' >
In the CSS file I write
font-family: 'Open Sans'; font-style: normal font-weight: 300 font-size:16px;
Why such difference of display in browsers???
But on the site google.com/fonts these fonts are displayed the same way!!! What kind of nonsense???

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mak Alexey, 2015-08-27
@seredaes

For containers with problematic text:

text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

L
lavezzi1, 2015-08-27
@lavezzi1

Include this css file https://necolas.github.io/normalize.css/

K
Kirill Turovnikov, 2015-08-27
@turovnikoff

Different browsers have different font rendering methods, especially in safari.
When connecting to html, I came across the fact that the address with parameters is not always well parsed, you can connect in other ways, for example, via @import.
It is also worth noting that Chrome displays sites at 100% scale, most others increase it slightly to 125%.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question