Susy Documentation: Responsive Layouts with Sass

Table of Contents:
  1. Getting Started
  2. Settings
  3. Shorthand
  4. Toolkit
  5. Susy One
  6. Upgrade Path
  7. DIY Susy
  8. Changelog

Overview

Susy Documentation: Responsive Layouts with Sass explains Susy’s grid-agnostic, mixin-driven approach for building flexible, responsive layouts without forcing a specific markup or framework. The manual emphasizes practical patterns and composable primitives—such as @include container, @include span(...), shorthand utilities, and a configurable $susy map—so you can translate design intent into robust Sass rules that adapt cleanly across viewports.

What you will learn

  • How to establish layout contexts using @include container and control element widths with @include span(...).
  • How to configure global grid settings via a $susy map—columns, gutters and asymmetry—to reflect a project’s visual system.
  • How Susy’s shorthand and toolkit helpers speed up layout tasks while keeping generated CSS predictable and maintainable.
  • Techniques for building fluid, responsive and asymmetrical grids that adapt smoothly at breakpoints.
  • Practical integration patterns for modern Sass toolchains and strategies for maintaining layouts during upgrades.

Approach and coverage

The guide balances conceptual explanation with concise, runnable examples. Core primitives are introduced first: creating a layout context with a container, sizing elements with spans, and nesting contexts for modular components. Example snippets show common workflows—setting a max width with @include container(80em), allocating space with @include span(3 of 12), and adopting shorthand variants for faster iteration—so you can apply concepts immediately to real components.

Susy encourages a configuration-driven workflow: a single $susy map centralizes columns, gutter sizes, and asymmetry options so layout changes propagate without scattering magic numbers across stylesheets. The documentation contrasts symmetrical and asymmetrical grid strategies, helping you choose patterns that reinforce content hierarchy rather than constrain it.

Practical examples and workflow

Concrete patterns demonstrate Susy applied to headers, navigation, multi-column content areas and portfolio-style asymmetrical layouts. Recommended workflow: add Susy to your Sass build, define a grid map aligned with your design tokens, prototype layouts using container and span mixins, then refine behavior at breakpoints. Use shorthand and toolkit helpers to DRY up repetitive rules and to compose reusable layout primitives that fit component-driven development.

Who should use this guide

This documentation is aimed at front-end developers and designers who are comfortable with Sass and want precise, programmatic control over grid behavior. Developers with basic Sass experience will find approachable examples to follow, while experienced practitioners can leverage shorthand utilities and advanced configuration to streamline complex responsive systems.

How to use this documentation effectively

Start with the introductory sections to understand layout contexts and grid configuration, then follow quick-start examples to wire Susy into your build. Recreate a few sample layouts in a sandbox project to internalize span and container semantics. After you’re comfortable, adopt shorthand rules and toolkit helpers to simplify repetitive patterns and keep styles maintainable as components scale.

Short FAQ

How does Susy differ from fixed grid frameworks?

Susy is grid-agnostic: it doesn’t impose specific column counts, markup structures, or class names. Instead, it provides mixins and configuration maps so you define the grid that best fits your design and output preferences.

Can I customize gutters and columns?

Yes—set up a $susy map to control columns, gutter ratios and asymmetry. Susy’s mixins read these values so layouts respond consistently when the map changes.

Key terms

  • Mixin — reusable Sass block invoked with @include.
  • Container — establishes layout context and optional max-width constraints.
  • Span — assigns element width in terms of grid columns.
  • Shorthand — condensed syntax for common layout operations.
  • Toolkit — helpers for nesting, alignment and composability.

Use this documentation to move from conceptual grid thinking to practical, responsive Sass workflows that integrate with modern front-end toolchains and component-based development.


Author
Miriam Eric Suzanne and contributors
Downloads
652
Pages
77
Size
258.60 KB

Safe & secure download • No registration required