Zum Inhalt springen
snippets.larsburkhardt.de
  • Start
  • HTML
  • CSS
  • SCSS
  • JavaScript
  • WordPress
    • WordPress functions
    • WordPress Filter
    • WordPress Hooks
    • Templating
    • Weiteres
    • WooCommerce
    • ACF
  • Snippet einreichen
Sass/SCSS Logo

Responsive Typo Mixin

14. September 2020

Gepostet in SCSS
Tags:
  • responsive
  • typo

Einbinden:

## npm
npm install rfs

## Yarn
yarn add rfs

## Bower is available, but has been deprecated
bower install rfs --save

Benutzung:

.element {
@include font-size(24px);
}

Quelle: https://css-tricks.com/using-a-mixin-to-take-the-math-out-of-responsive-font-sizes/

Tags

Accessibility ACF admin archiv.php archive.php author Bilder Block body breadcrumb Breadcrumbs category cf7 Colors CPT CSS Dateigröße excerpt Farben Footer Formular header.php htaccess Image images Kommentare Login Menü page post Query responsive scroll security Sidebar sticky styles Suche Taxonomie Text typo wp-config

Weitere Beiträge aus dieser Kategorie

  • Mixin: Media Queries
  • Mixin: Hardware acceleration
  • Mixin: Aspect Ratio
  • Mixin: Fluid Typo
  • Mixin: Pfeilspitzen
  • Mixin: Retina
  • Mixin: px to rem
  • Custom accessible Checkboxes
  • Responsive Typo Mixin
  • Impressum
  • Datenschutz