This is a draft cheat sheet. It is a work in progress and is not finished yet.
Typography
default font: Roboto 2.0, to change font:
html {
font-family: GillSans, Calibri, Trebuchet, sans-serif;
}
Icons
.material-icons |
.[tiny,small,medium,large] |
Collections
.collection |
.collection-item |
."collection-item active" |
.collection-header |
.secondary-content |
"collection-item avatar" |
"collection-item dismissable" |
Color
.red |
.lighten-5 |
.pink |
.lighten-4 |
.purple |
.lighten-3 |
.deep-purple |
.lighten-2 |
.indigo |
.lighten-1 |
.blue |
.darken-1 |
.light-blue |
.darken-2 |
.cyan |
.darken-3 |
.teal |
.darken-4 |
.green |
.accent-1 |
.light-green |
.accent-2 |
.lime |
.accent-3 |
.yellow |
.accent-4 |
.amber |
.orange |
.deep-orange |
.brown |
.grey |
.blue-grey |
.black |
.white |
.transparent |
you can combine classes from first column with classes in second. Also, to change text color use next syntax: [color]-text or/and text-[transparancy].
for example: blue-text / text-accent-4
|
|
Chip
.chip |
.close |
.chips-initial |
.chips-placeholder |
.chips-autocomplete |
Chip
.chip |
.close |
.chips-initial |
.chips-placeholder |
.chips-autocomplete |
Helpers
Alignment |
.valign-wrapper |
..left-align / .left |
.right-align / .right |
.center-align |
hide content |
.hide |
.hide-on-small-only |
.hide-on-med-only |
.hide-on-med-and-down |
.hide-on-med-and-up |
.hide-on-large-only |
Formatting |
.truncate |
.hoverable |
Grid
.container |
.row |
.col |
.[s,m,l,xl][1-12] //s12, m6, l2, xl1 |
.offset-* |
.push-* |
.pull-* |
.divider |
.section |
|
|
Pulse
.pulse
<a class="btn btn-floating btn-large cyan pulse"><i class="material-icons">edit</i></a>
|
Shadow
z-depth-0 uses to remove shadows
Table
.bordered |
.striped |
.highlight |
.centered |
.responsive-table |
Scale
.scale-transition |
.scale-out //add first |
.scale-in |
Media CSS
Image |
.responsive-img |
.circle |
Video |
.video-container |
.responsive-video //html5 |
Buttons
.btn |
.btn-floating |
.btn-large |
"fixed-action-btn horizontal" |
"fixed-action-btn horizontal click-to-toggle" |
"fixed-action-btn toolbar" |
.waves-effect |
.waves-light |
.waves-teal |
.btn-flat |
.disabled |
|