Cmlap News, articles What keep it mind if you use google webfont

What keep it mind if you use google webfont

If you use an italic style  Google Webfont for example Muli lightitalic, you can set the font style to italic in css rule! This property is not important in most browser except Chrome. Chrome not use the font, only if we set the font style in rule!
When you embed a webfont resource to your web page, it appear as a stylesheet with this content for example:

@font-face { font-family: 'Muli'; font-style: italic; font-weight: 300; src: local('Muli Light Italic'), local('Muli-LightItalic'), url('/upload_images/114/File/font/Muli-LightItalic.woff') format('woff'); }

In the example the style is set to italic, but in the document the font not loaded.

When you want to see the font in Google Chrome you must set the font-style in the rule too!

#header .txt{ font-family:Muli,Arial;color:#8e8044;}

set the style like this:
#header .txt{ font-family:Muli,Arial;font-style:italic;color:#8e8044;}




Ha tetszett vagy hasznosnak talltad, krlek oszd meg!
Author / szerz:
More news in theme / Tovbbi cikkek
Hozzszlsok
Vlasszon nyelvet!
Keress a tartalomban
Kattintson ide az adatok elkldshez!