I have a problem that I want the user to use web fonts instead of the fonts installed on their computer Because they are both slightly different formatting, I Then something like this: CSS HTML ! Significant , but I'm not sure and when I try, I can not find if it's working or not. Anyone can please tell me how to use
Important on
@ font-face ? Is it valid or not?
@ font-faces {font-family: 'custom-font'; Src: url ('custom-font.eot'); Src: url format ('custom-font.eot? # Formix') format ('embedded-oppent'), url format ('custom-font.woff') ('woff'), url ('custom-font.ttf' ) Format ('truetype'), url ('custom-font.svg # custom') format ('SVG'); Font weight: normal; Font style: normal; } P {font-family: 'custom-font', aerial, non-serif; }
& lt; P & gt; Your text goes here & lt; / P & gt;
No comments:
Post a Comment