- @font-face {
- font-family: 'Avenir';
- src: url('../fonts/Avenir.eot?#iefix') format('embedded-opentype'), url('../fonts/Avenir.woff') format('woff'), url('../fonts/Avenir.ttf') format('truetype'), url('../fonts/Avenir.svg#Avenir') format('svg');
- }
- ​
- p {
Also know, how do I add more fonts to CSS?
The @font-face CSS rule explained below is the most common approach for adding custom fonts to a website.
- Step 1: Download the font.
- Step 2: Create a WebFont Kit for cross-browsing.
- Step 3: Upload the font files to your website.
- Step 4: Update and upload your CSS file.
- Step 5: Use the custom font in your CSS declarations.
Beside above, how do I use Avenir font on my website? This is to prevent other users who haven't purchased the font file from taking it from your web server and using it themselves. The easiest way to use it is just to sign up for a fonts.com subscription and then you can use the webfont version of Avenir on your site.
Also to know, how do I install Avenir fonts?
Installing & Using Avenir in Photoshop
- First, download the Avenir font.
- After, extract it with WinRAR and double click on . ttf or otf file.
- After opening, you can preview it.
- Close Photoshop and open it again, the font will be there in your fonts section.
What fonts are available in CSS?
CSS Web Safe Fonts
- Arial (sans-serif)
- Verdana (sans-serif)
- Helvetica (sans-serif)
- Tahoma (sans-serif)
- Trebuchet MS (sans-serif)
- Times New Roman (serif)
- Georgia (serif)
- Garamond (serif)
