font-icons vs png-icons

verwende ich Symbole für Etiketten -, aber ich sah diese website: www.fontello.com wo können Sie schriftart mit Symbolen.

Aber wenn ich font mit icons, ist es größer als alle meine icons, denn es ist svg, ttf, woff und eot, alle 4 Schriften sind größer, dass alle png-icons.

@font-face {
  font-family: 'fonticons';
  src: url("../font/fonticons.eot");
  src: url("../font/fonticons.eot?#iefix") format('embedded-opentype'), url("../font/fonticons.woff") format('woff'), url("../font/fonticons.ttf") format('truetype'), url("../font/fonticons.svg#fonticons") format('svg');
  font-weight: normal;
  font-style: normal;
}

Alle meine icons sind optipng komprimiert .png-Bilder.

Funktioniert das auf allen Browsern ?

Also warum sollte ich diese schriftart-Methode ?

Und eine alternative für fontello.com ?

  • Beide sprite-Karten-und symbol-Schriftarten als Symbole haben Ihre vor-und Nachteile. Eine einzelne Datei herunterladen, ist viel besser für die user, als dass ein download mehrere kleine Bilder, auch wenn die kombinierte Dateigröße der alle die kleinen Bilder, die kleiner ist als die einzelne Datei.
InformationsquelleAutor Mirza Delic | 2012-09-20
Schreibe einen Kommentar