MelangeCSS Reference

Current Version: 1.0.0-RC5

Display ( Medium Width )

Handles basic dispaly properties other than Flexbox. Flexbox is part of the Flexbox grouping.

Properties

Appearance

Setting appearance to 'none' is useful to create accessible but visually pleasing form elements.

appearance-none-m
Appearance None
.appearance-none-m {
  appearance: none;
}
appearance-auto-m
Appearance Auto
.appearance-auto-m {
  appearance: auto;
}
Display
db-m
Display Block
.db-m {
  display: block;
}
db-m
db-m
db-m
di-m
Display Inline
.di-m {
  display: inline;
}
di-m
di-m
di-m
dib-m
Display Inline Block
.dib-m {
  display: inline-block;
}
dib-m
dib-m
dib-m
dn-m
Display None
.dn-m {
  display: none;
}
dn-m
dn-m
dn-m
dfr-m
Display Flow Root / Clearfix
.dfr-m {
  display: flow-root;
}
With display: flow-root, the black box is safe.
 
Without display: flow-root, the black box contains only pain.
 
Screen Readers

For helping with markup needed for screen readers that you may not want shown to users using visual browsers

sr-only-m
Screen Readers Hide in browser UI
.sr-only-m {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
undo-sr-only-m
Screen Readers Undo sr-only, e.g. at a different breakpoint
.undo-sr-only-m {
  position: static;
  padding: 0;
  margin: 0;
  clip: auto;
  white-space: normal;
  width: auto;
  height: auto;
  overflow: visible;
}
Table Display
dt-m
Table Display Table
.dt-m {
  display: table;
}
dtc-m
Table Display Cell
.dtc-m {
  display: table-cell;
}
dtrow-m
Table Display Row
.dtrow-m {
  display: table-row;
}
dtrow-group-m
Table Display Row Group
.dtrow-group-m {
  display: table-row-group;
}
dtcolumn-m
Table Display Column
.dtcolumn-m {
  display: table-column;
}
dtcolumn-group-m
Table Display Column Group
.dtcolumn-group-m {
  display: table-column-group;
}
collapse-m
Table Display Border Collapse
.collapse-m {
  border-collapse: collapse;
  border-spacing: 0;
}