S2 Framework
Clone S2 in Webflow
English
English
  • Welcome
    • S2 is flow simple!
    • Getting Started
  • How to use the Cloneable?
  • Guide & Documentation
    • Basic Concepts
      • Styling in Webflow
      • Utility Classes
      • Units
      • Fluid Typography
    • Variables
      • Colors vs Palettes
      • Colors in S2
      • Text
      • Variable Groups
    • Naming Strategies
      • Class Naming
      • Other Naming Strategies
      • Naming Custom Attributes
    • Structure
      • HTML Structure
      • Global Code
    • S2 Attributes
    • S2 Components
  • Editions
    • Build your own S2
      • One-page Style Guide
      • Lite Edition
  • More
    • FAQs
    • Ready to switch to S2?
      • Frameworks Comparison Overview
      • From Client-First
      • From MAST or The Saddle
      • From Lumos
    • Tools and Resources
    • Read More
      • Foundations of S2
      • Our Approaches
  • Links
    • 🤘Clone in Webflow
    • 🪵Changelog & Roadmap
  • Copyright & Terms
Powered by GitBook
On this page
  • Class Naming Convention
  • S2 Containers and Column Layout System
  1. More
  2. Ready to switch to S2?

From MAST or The Saddle

Switching from MAST or the Saddle Framework to the S2 Framework

PreviousFrom Client-FirstNextFrom Lumos

Last updated 20 days ago

Congratulations! You should feel comfortable when starting with S2.

Class Naming Convention

S2, MAST, and The Saddle share many similar practices. S2 uses u- for utility classes, but is- for combo classes (MAST and the Saddle Framework use cc- for combo classes).

S2 provides a more precise definition of how to use - and _ in class naming:

  1. Use natural English in most cases.

  2. Use - to separate words of the same context.

  3. Use _ to separate words of different contexts or child elements.

Refer to the section for more examples.

S2 Containers and Column Layout System

S2 does not define container and column widths using simple percentage-based values by default. (Of course, you can still easily set up such classes yourself according to design need.)

Instead, S2 follows a standard 12-column grid system (though here, "grid" refers to grid guide, not an "grid"). This system includes a gutter variable (set to 1rem by default) for precise layout calculations.

The 12-column system adapts across breakpoints:

  • Desktop (Base): 12 columns

  • Tablet: 8 columns

  • Landscape: 6 columns

  • Mobile: 4 columns

This structured makes setting up layouts accurate and easy!

Class Naming