Skip to content

Instantly share code, notes, and snippets.

@AlfieDarko
Last active July 27, 2020 20:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
/* Block component */
.checkout-form {
// ..
}
/* Element that depends upon the block */
.checkout-form__title {
// ..
}
.checkout-form__input {
// ..
}
.checkout-form__button {
// ..
}
/* Modifier that changes the style of the block */
.checkout-form--darkmode {
// ...
}
/* Modifier that changes the style of the element */
.checkout-form__input--big {
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment