Skip to content

Instantly share code, notes, and snippets.

@guiltry
Last active February 8, 2018 23:22
Show Gist options
  • Save guiltry/28a7513b470faafe6f25a1726c504e6c to your computer and use it in GitHub Desktop.
Save guiltry/28a7513b470faafe6f25a1726c504e6c to your computer and use it in GitHub Desktop.
.landing-page
.landing-page__event
.landing-page__htu
.landing-page__terms
.landing-page__cta
.landing-page__cta-title = "Let's make your travel memorable"
.landing-page__cta-button
= link_to 'BOOK NOW', '#', class: 'landing-page__cta-anchor'
.landing-page {
///////
// DO
///////
// Media Query
@media (min-width: $breakpoint) {}
// Block-Modifier
&--full-page {}
// Elements
&__cta {}
&__cta-title {}
&__cta-button {}
&__cta-anchor {
// Media Query
@media (min-width: $breakpoint) {}
// Element-Modifier
&--ripple {}
}
//////////
// DON'T
//////////
// &__cta {
// &-title {}
// &-button {}
// &-anchor {
// &--ripple {}
// }
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment