SimpleSL· simple site layout

Understanding SimpleSL

Concept

Convention, not abstraction

Fewer rules to remember.
More visible context.

SimpleSL keeps the language of the Web and adds only a shared grammar for organising the document.

Natural CSS scope

The slug carries the context

The same component can keep a simple class while varying with its section.

#news .card { border-left: 4px solid; }
#contact .card { max-width: 40rem; }

Five levels, from document to element

  1. Documenthtml — the complete document
  2. Structurehd · mn · ct · ft — global areas
  3. Functionalsection#slug — business context
  4. Interfacecard · table · form · grid — internal tools
  5. Native HTMLh2 · p · a · button · input — the foundation