filmov
tv
Loading fonts correctly with CSS | Web Design Tutorial

Показать описание
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:
Support me on Patreon:
For your reference, check this out:
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:
Support me on Patreon:
For your reference, check this out:
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!
Loading fonts correctly with CSS | Web Design Tutorial
How to Add a Custom Fonts to Your Website (HTML and CSS)
CSS Tutorial — How to use Fonts (12/13)
Coding for Beginners: CSS Basics #60— Methods to Load Fonts
10: How to Import New Fonts | Basics of CSS | Learn HTML and CSS | Learn HTML & CSS For Beginner...
Use Custom Web Fonts #font #css #frontend
Web fonts using CSS Font Face
Correctly Importing and Using Multiple Fonts in CSS
Which CSS Property Loads Custom Fonts? | Quiz Time with ITGuruSolutions #html #css #coding
How to Add Google Font to HTML Website
How to add custom fonts to your website HTML and CSS
CSS : How do I use .woff fonts for my website?
Font path is not correct - CSS - Local font not working - Import font from a file CSS not working
CSS : font-family not loading?
Why Don't the Custom Font Classes Apply Correctly in CSS?
How to Properly Call Fonts in CSS for Your WordPress Theme
Styling text using CSS @font-face rule | How to use custom fonts on a webpage | Web Development
How To Add Custom Fonts | Lesson 08 | HTML and CSS
CSS : custom font not loading correctly in Chrome
Optimise page load time: icon font or SVG?
HTML & CSS 2020 Tutorial 12 - How to use your own fonts (with CSS font-face rule)
CSS tutorial 21 - Using @font-face for Custom Fonts
Custom Font #2 - Add custom font using font face in CSS
Mastering CSS: The @font-face Property | packtpub.com
Комментарии