Mobile app version of vmapp.org
Login or Join
Rambettina927

: PS font does not match HTML font On my mac I use font 'Open Sans' Semibold which translate to: font-family: "Open Sans"; font-size: 14px; font-weight: 600; line-height: 16px; using CSShat plugin.

@Rambettina927

Posted in: #AdobePhotoshop #Fonts #WebFonts

On my mac I use font 'Open Sans' Semibold which translate to:
font-family: "Open Sans";
font-size: 14px;
font-weight: 600;
line-height: 16px;

using CSShat plugin.

The result in HTMl doesn't look the same as is PSD (see attached image).

Any ideas please?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Rambettina927

1 Comments

Sorted by latest first Latest Oldest Best

 

@Si6392903

Try adding letter-spacing: 1px; to your ID or class.

font-family: "Open Sans";
font-size: 14px;
font-weight: 600;
line-height: 16px;
letter-spacing: 1px;


The default is letter-spacing: 0px;. You can also use letter-spacing: 0.25px; or letter-spacing: 0.5px;, etc.

Example: codepen.io/anon/pen/oZarEx

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme