Skip to content

Instantly share code, notes, and snippets.

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