Generated by SassMeister.com.
✓ Published0🌍 Public
LLucyI
Last edited Jun 30, 2015
Created on Jun 30, 2015
This example demonstrates a modular scale for typography, applying a consistent proportional size and margin rhythm to headings and paragraphs. A Sass loop through the heading elements h6 to h1 assigns font sizes computed by the Modular Scale library, with negative margins creating a tight vertical rhythm. The body’s line-height is set to the golden ratio (1.61803) via `$ms-ratio`, and headings use `white-space: nowrap` and `overflow: hidden` to preserve their single-line layout. Latin filler text shows the scaling effect across all levels.
AI-generated description