Skip to content

Instantly share code, notes, and snippets.

@marcysutton
Created May 7, 2015 20:29
Show Gist options
  • Save marcysutton/55a04d0ea18feff3084b to your computer and use it in GitHub Desktop.
Save marcysutton/55a04d0ea18feff3084b to your computer and use it in GitHub Desktop.
Angular Material CSS Best Practice
// Brittle:
md-dialog {
&> md-dialog-content {
}
}
// better:
md-dialog {
.custom-dialog-content {
}
}
// Best:
.custom-dialog {
.custom-dialog-content {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment