New Bulletproof Font-Face Syntax

A new version that apparently works in all browsers and clean.

@font-face {
	font-family: 'MyFontFamily';
	src: url('myfont-webfont.eot'); /* IE9 Compat Modes */
	src: url('myfont-webfont.eot?iefix') format('eot'), /* IE6-IE8 */
	     url('myfont-webfont.woff') format('woff'), /* Modern Browsers */
	     url('myfont-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
	     url('myfont-webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
	}

Source: fontspring.com

23 Notes

  1. louisandrade said: amazing! I’m going to try this out today
  2. batonnoir reblogged this from gregbabula
  3. jesseddy reblogged this from gregbabula
  4. gregbabula posted this

Recent comments

Previous Next