Die globale Schriftgröße in Foundation-6 ist 16px
und kann in _settings.scss
geändert werden. Gibt es eine Möglichkeit, diese Größe abhängig von der Bildschirmbreite zu variieren? Ich möchte diese Größe auf 13px
für small
Bildschirme verringern. Ich weiß, dass es so etwas für die Header gibt, aber ich frage hier nach der globalen Größe. Vielen Dank!Responsive globale Schriftgröße auf Foundation 6
0
A
Antwort
0
Ich würde wahrscheinlich einen Satz von Medienabfragen zu Ihrer app.scss Datei hinzufügen, um die Schriftgröße für jeden Haltepunkt festzulegen. Das macht Sinn?
0
Ich würde so etwas tun (gerne Stiftung Funktion verwenden, um den Wert in Pixel rem oder em zu konvertieren):
body{
font-size:13px;
@include breakpoint(medium) {
font-size:$global-font-size;
}
}
Verwandte Themen
- 1. React Native Responsive Schriftgröße
- 2. iOS Foundation: System Schriftgröße
- 3. Sizing Problem auf responsive Nav Foundation 5
- 4. Foundation 6 Menü-Symbol wurde auf Klick-Link
- 5. Middleman mit Foundation 6
- 6. Foundation 6 Mega Menu und Responsive Toggle Navigation mit Drilldown Title Bar auf Small
- 7. Foundation 6 Slider Update auf Seite laden
- 8. iPhone 6 und 6 Plus Responsive Haltepunkte
- 9. Foundation 6 Core js Fehler
- 10. Switch foundation 6 tabs automatisch
- 11. Zurbs Foundation 6 Disable Forms
- 12. Gulp & Foundation 6 nicht kompilieren
- 13. Registerkarte "Firing Foundation 6" aus mehreren Links
- 14. Foundation 6 Nested Reveal respektiert nicht multipleOpened
- 15. Foundation 6 Button Group Expanded funktioniert nicht
- 16. Foundation 6 Orbit: Änderung Slide programmatisch
- 17. Getting smoothState.js und Foundation 6 zusammenarbeiten
- 18. Foundation 6 div (Callout) richtig auf Großbild ausrichten
- 19. foundation 6 orbit start autoplay auf element klicken
- 20. Zurb Foundation 6 - Textarea Hintergrund auf Fokus ändern
- 21. Foundation 6 in IE, bricht auf ES2015 JS-Vorlagensyntax?
- 22. Mit ZURB Foundation 6 Javascript mit jspm
- 23. Sticky close-Taste für Foundation 6 offenbaren
- 24. Foundation 6 Seite funktioniert nur in Chrom?
- 25. Gulp-Sass nicht kompilieren Foundation 6 richtig
- 26. Foundation 6 - Spalten sind nicht float left?
- 27. Foundation 6 mit Rails Simple Form
- 28. Foundation 6 und ISOTope Column Width Ausgabe
- 29. Foundation 6, Reveal Modal nicht weiß
- 30. Foundation 6 - Drop-Down-Elemente aktivieren keine Links beim Klicken