MelangeCSS Reference

Current Version: 1.0.0-RC4

Flexbox

Provides flexible single-dimension layout options, including the ability to achieve the Holy Grail of centering a div vertically. Note that some flex properties set display, so could override styles used from the display grouping.

Properties

Flex Alignment
items*
items-start
.items-start {
  align-items: flex-start;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
items-end
.items-end {
  align-items: flex-end;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
items-center
.items-center {
  align-items: center;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
items-baseline
.items-baseline {
  align-items: baseline;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
items-stretch
.items-stretch {
  align-items: stretch;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
self*
self-start
.self-start {
  align-self: flex-start;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
self-end
.self-end {
  align-self: flex-end;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
self-center
.self-center {
  align-self: center;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
self-baseline
.self-baseline {
  align-self: baseline;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
self-stretch
.self-stretch {
  align-self: stretch;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
Flex Basis
flex-basis*
flex-basis-0
.flex-basis-0 {
  flex-basis: 0;
}
flex-basis-auto
.flex-basis-auto {
  flex-basis: auto;
}
flex-basis-max
.flex-basis-max {
  flex-basis: max-content;
}
flex-basis-min
.flex-basis-min {
  flex-basis: min-content;
}
flex-basis-fit
.flex-basis-fit {
  flex-basis: fit-content;
}
Flex Content
justify*
justify-start
.justify-start {
  justify-content: start;
}
Lynch Dune
Sci-Fi Dune
DUNC
justify-end
.justify-end {
  justify-content: end;
}
Lynch Dune
Sci-Fi Dune
DUNC
justify-center
.justify-center {
  justify-content: center;
}
Lynch Dune
Sci-Fi Dune
DUNC
justify-between
.justify-between {
  justify-content: space-between;
}
Lynch Dune
Sci-Fi Dune
DUNC
justify-around
.justify-around {
  justify-content: space-around;
}
Lynch Dune
Sci-Fi Dune
DUNC
justify-stretch
.justify-stretch {
  justify-content: stretch;
}
Lynch Dune
Sci-Fi Dune
DUNC
content*
content-start
.content-start {
  align-content: start;
}
Lynch Dune
Sci-Fi Dune
DUNC
content-end
.content-end {
  align-content: end;
}
Lynch Dune
Sci-Fi Dune
DUNC
content-center
.content-center {
  align-content: center;
}
Lynch Dune
Sci-Fi Dune
DUNC
content-between
.content-between {
  align-content: space-between;
}
Lynch Dune
Sci-Fi Dune
DUNC
content-around
.content-around {
  align-content: space-around;
}
Lynch Dune
Sci-Fi Dune
DUNC
content-stretch
.content-stretch {
  align-content: stretch;
}
Lynch Dune
Sci-Fi Dune
DUNC
Flex Direction
flex*
flex-column
.flex-column {
  flex-direction: column;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
flex-row
.flex-row {
  flex-direction: row;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
Flex Grow/Shrink
flex-grow*
flex-grow-0
.flex-grow-0 {
  flex-grow: 0;
}
flex-grow-1
.flex-grow-1 {
  flex-grow: 1;
}
flex-grow-2
.flex-grow-2 {
  flex-grow: 2;
}
flex-grow-3
.flex-grow-3 {
  flex-grow: 3;
}
flex-grow-4
.flex-grow-4 {
  flex-grow: 4;
}
flex-grow-5
.flex-grow-5 {
  flex-grow: 5;
}
flex-shrink*
flex-shrink-0
.flex-shrink-0 {
  flex-shrink: 0;
}
flex-shrink-1
.flex-shrink-1 {
  flex-shrink: 1;
}
flex-shrink-2
.flex-shrink-2 {
  flex-shrink: 2;
}
flex-shrink-3
.flex-shrink-3 {
  flex-shrink: 3;
}
flex-shrink-4
.flex-shrink-4 {
  flex-shrink: 4;
}
flex-shrink-5
.flex-shrink-5 {
  flex-shrink: 5;
}
Flex None
flex-none
.flex-none {
  flex: none;
}
Flex Wrap
flex*
flex-wrap
.flex-wrap {
  flex-wrap: wrap;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
flex-nowrap
.flex-nowrap {
  flex-wrap: nowrap;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
Flexbox
flex
.flex {
  display: flex;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune
Inline Flex
inline-flex
.inline-flex {
  display: inline-flex;
}
Dune
Dune: Messiah
Children of Dune
God Emperor of Dune
Heretics of Dune
Chapterhouse: Dune