- Firefox-Version
- Firefox, Chromium
- Betriebssystem
- Windows (egal)
Ich habe da eine allgemeine Frage zu Styles.
Wenn ich eine beachtliche Menge Styles, bei denen einige sich bestimmte Formatierungen gleichen, zusammenfassen möchte:
Hätte das Geschwindigkeitsvorteile?
Bsp:
CSS
#a{
margin:0 !important;
color: #123 !important;
}
#b{
margin:0 !important;
color: #321 !important;
}
Hätte ich Geschwindigkeitsvorteile mit dem folgenden?
CSS
#a, #b{
margin:0 !important;
}
#a{
color: #123 !important;
}
#b{
color: #321 !important;
}
Alles anzeigen
Im Inspektor sieht das gleich aus.