myfont.css 981 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @font-face {
  2. font-family: 'icomoon';
  3. src: url('./myfont/icomoon.eot?gfkj7n');
  4. src: url('./myfont/icomoon.eot?gfkj7n#iefix') format('embedded-opentype'),
  5. url('./myfont/icomoon.ttf?gfkj7n') format('truetype'),
  6. url('./myfont/icomoon.woff?gfkj7n') format('woff'),
  7. url('./myfont/icomoon.svg?gfkj7n#icomoon') format('svg');
  8. font-weight: normal;
  9. font-style: normal;
  10. font-display: block;
  11. }
  12. [class^="icon-"], [class*=" icon-"] {
  13. /* use !important to prevent issues with browser extensions that change ./myfont */
  14. font-family: 'icomoon' !important;
  15. speak: never;
  16. font-style: normal;
  17. font-weight: normal;
  18. font-variant: normal;
  19. text-transform: none;
  20. line-height: 1;
  21. /* Better Font Rendering =========== */
  22. -webkit-font-smoothing: antialiased;
  23. -moz-osx-font-smoothing: grayscale;
  24. }
  25. .icon-a:before {
  26. content: "\e900";
  27. color: #f00;
  28. }
  29. .icon-b:before {
  30. content: "\e901";
  31. color: #f00;
  32. }
  33. .icon-c:before {
  34. content: "\e902";
  35. color: #f00;
  36. }