Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. @font-face {
  2. font-family: bigCaslon;
  3. src: url(http://www.mywebsite.com/web/wp-content/font/BigCaslon.ttf);
  4. font-weight:400;
  5. }
  6.  
  7. font-family: 'bigCaslon';
  8.  
  9. @font-face {
  10. font-family: 'MyWebFont';
  11. src: url('../web/wp-content/font/BigCaslon.eot'); /* IE9 Compat Modes */
  12. src: url('../web/wp-content/font/BigCaslon.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  13. url('../web/wp-content/font/BigCaslon.woff') format('woff'), /* Modern Browsers */
  14. url('../web/wp-content/font/BigCaslon.ttf') format('truetype'), /* Safari, Android, iOS */
  15. url('../web/wp-content/font/BigCaslon.svg#svgFontName') format('svg'); /* Legacy iOS */
  16. }
  17.  
  18. font-family: 'MyWebFont';
  19.  
  20. @font-face {
  21. font-family: 'MyWebFont';
  22. src: url('webfont.eot'); /* IE9 Compat Modes */
  23. src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  24. url('webfont.woff') format('woff'), /* Modern Browsers */
  25. url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */
  26. url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
  27. }
  28.  
  29. assets/
  30. css/
  31. style.css
  32. fonts/
  33. family/
  34. family.ttf
  35. family.svg
  36. family.woff
  37. family.eot
  38.  
  39. url('../fonts/family/family.eot')
  40.  
  41. @font-face {
  42. font-family: 'MyWebFont';
  43. src: url('../../font/BigCaslon.eot'); /* IE9 Compat Modes */
  44. src: url('../../font/BigCaslon.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  45. url('../../font/BigCaslon.woff') format('woff'), /* Modern Browsers */
  46. url('../../font/BigCaslon.ttf') format('truetype'), /* Safari, Android, iOS */
  47. url('../../font/BigCaslon.svg#svgFontName') format('svg'); /* Legacy iOS */
  48. }
  49.  
  50. font-family: 'MyWebFont';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement