Semantic html

An important difference between milligram and skeleton is that sscaffold emphasizes semantic, structured html in place of utility classes. Instead of using a "container" class on divs within a body element, sscaffold looks for section or article elements inside of a main element.

This encourages slightly cleaner, more modern markup.

The sscaffold-css home page is a handcrafted, not-minified demo of many supported elements.


Some helpful features of sscaffold include:

  • A lot of compatibility with both milligram and skeleton
  • No external dependencies (milligram and skeleton both require normalize.css)
  • Completely restructured css
    • designed for humans
    • with distinct sections
    • and a separate section at the bottom for theming
    • and the theme section is further broken down into typography, layout, and colors
  • Automatic scaling for different display resolutions

Quick start

sscaffold works best with html that looks something like:

<!DOCTYPE html>
<html lang="en">
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <!-- ... -->
                <!-- or <article>, followed by content -->
                <!-- ... -->

Milligram and Skeleton

sscaffold provides support for much of milligram's and skeleton's css rules, but if you're coming from one of those, you'll probably want to look at differences from milligram or differences from skeleton.