×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
1
Language: CSS
Posted by: Philip Rehberger
Added: Sep 14, 2016 12:06 AM
Views: 5
Tags: no tags
  1. @font-face {
  2.     font-family: 'MyWebFont';
  3.     src: url('webfont.eot'); /* IE9 Compat Modes */
  4.     src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  5.     url('webfont.woff') format('woff'), /* Modern Browsers */
  6.     url('webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
  7.     url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
  8. }
  9.    
  10. body {
  11.     font-family: 'MyWebFont', Arial, sans-serif;
  12. }