Fonts
@font-face
This is the method with the deepest support possible right now. The @font-face rule should be added to the stylesheet before any styles.
Practical Level of Browser Support:
@font-face {
font-family: 'MyWebFont';
src: url('myfont.woff2') format('woff2'),
url('myfont.woff') format('woff'),
url('myfont.ttf') format('truetype');
}Then use it to style elements like this:
body {
font-family: 'MyWebFont', Fallback, sans-serif;
}https://css-tricks.com/snippets/css/using-font-face/
