Playback starts YouTube’s embedded player (privacy-enhanced mode).
Loading fonts correctly with CSS | Web Design Tutorial
ChanneldcodeDescription from the creator
Using this method to load your web page fonts allows you to not only remove the unwanted effect of "fake" (or faux) font rendering but also lets you take advantage of the standard font-weight and font-style CSS rules.
Fake (or faux) font rendering is when the web browser tries its best to apply a weight or style to a font when it does not have the respective version loaded. For example, if a web developer has set the font-weight as "bold" for a particular element but has not provided the "bold" font file (i.e. woff, woff2 etc.) then the browser will "fake" bold it. This means you will get different looks across different browsers.
To combat this and to use the font-weight and font-style rules correctly, you can use the method described in this video.
An article on fake (or faux) bolding:
nimbupani.com/fake-bolding-of-web-fonts.html
Support me on Patreon:
patreon.com/dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
developer.mozilla.org/en-US/docs/Web/CSS/@font-…
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Fake (or faux) font rendering is when the web browser tries its best to apply a weight or style to a font when it does not have the respective version loaded. For example, if a web developer has set the font-weight as "bold" for a particular element but has not provided the "bold" font file (i.e. woff, woff2 etc.) then the browser will "fake" bold it. This means you will get different looks across different browsers.
To combat this and to use the font-weight and font-style rules correctly, you can use the method described in this video.
An article on fake (or faux) bolding:
nimbupani.com/fake-bolding-of-web-fonts.html
Support me on Patreon:
patreon.com/dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
developer.mozilla.org/en-US/docs/Web/CSS/@font-…
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
About this tutorial
dcode published this 11:40 video tutorial on October 29, 2018. It has been watched 13,663 times on YouTube.
Share
This tutorial in other languages
- FRChargement des polices correctement avec CSS | Web Design Tutorial
- ESCargar las fuentes correctamente con CSS | Diseño Web Tutorial
- PTCarregando fontes corretamente com CSS | Web Design Tutorial
- ITCaricamento font correttamente con i CSS | Design Tutorial Web
- DELaden Schriftarten korrekt mit CSS | Web Design Tutorial
- NLLaden fonts correct met CSS | Web Design Tutorial
- RUЗагрузка шрифтов правильно с помощью CSS | Учебник Веб-дизайн
- PLŁadowanie czcionek poprawnie z CSS | Web Design Tutorial
- JACSSでフォントを正しくロード| Webデザインチュートリアル
- ARتحميل الخطوط بشكل صحيح مع CSS | تم تصميم الموقع التعليمي
- HIसीएसएस के साथ सही ढंग फोंट लोड हो रहा है | वेब डिजाइन ट्यूटोरियल
- IDMemuat font benar dengan CSS | Web Design Tutorial