Skip to content

Instantly share code, notes, and snippets.

@mirisuzanne
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mirisuzanne/c425e49f28c5c1569d51 to your computer and use it in GitHub Desktop.
Save mirisuzanne/c425e49f28c5c1569d51 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
$container: (
display: flex, // similar to float/isolate or nest?
// shorthand flow: <direction> || <wrap>
direction: row row-reverse column column-reverse,
wrap: nowrap wrap wrap-reverse,
// items along main axis
justify: flex-start flex-end center space-between space-around,
// items along cross axis
align-items: flex-start flex-end center baseline stretch,
// multiple lines along cross axis
align-content: flex-start flex-end center space-between space-around stretch,
);
$item: (
order: '<integer>', // similar to location?
// shorthand flex: none | [ <grow> <shrink>? || <basis> ]
grow: '<number>',
shrink: '<number>',
basis: '<length>' auto, // similar to span?
// self along cross axis
align: auto flex-start flex-end center baseline stretch,
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment