3.0.0.alpha.1
Pre-release
Pre-release
mirisuzanne
released this
16 Feb 19:35
·
124 commits
to main
since this release
- No Mixins!
- Trim down to the core math, and a thin layer of api functions:
susy-span()
to return a column-spanning widthsusy-gutter()
to return a gutter widthsusy-slice()
to return a slice of asymmetrical grid
- Simplify to four settings:
columns
to define the grid columns
as a list of comparable or unitless relative numbersgutters
to define the size of a gutter
in units comparable to the columns,
or a unitless relative numberspread
to define the default spread of a span
across adjacent gutterscontainer-spread
to define the default spread of a container
across side-edge gutters
- Shorthand syntax for overriding settings on-the-fly:
- starting with a count, length, or column-list span
at $n
,first
, orlast
location on asymmetrical gridsnarrow
,wide
, orwider
for spreadof $n <spread>
for available grid columns and container-spread