Skip to content

Instantly share code, notes, and snippets.

@AlfieDarko
Last active July 27, 2020 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlfieDarko/ac498482f80ece1367361076a3be1325 to your computer and use it in GitHub Desktop.
Save AlfieDarko/ac498482f80ece1367361076a3be1325 to your computer and use it in GitHub Desktop.
/* 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