Skip to content

Instantly share code, notes, and snippets.

@mrmrs
Created May 26, 2015 07:17
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 mrmrs/861a5ee99e3ca48796e5 to your computer and use it in GitHub Desktop.
Save mrmrs/861a5ee99e3ca48796e5 to your computer and use it in GitHub Desktop.
Single purpose rulesets that set display none on an element
.marketing-input-focus+.marketing-form__messages .error+.suggest,
.marketing-input:focus+.marketing-form__messages .error+.suggest,
.marketing-input.focus+.marketing-form__messages .error+.suggest,
.marketing-textarea:focus+.marketing-form__messages .error+.suggest,
.marketing-textarea.focus+.marketing-form__messages .error+.suggest {
display: none;
}
.marketing-nav-wrapper.js-is-active .icon-caret-down {
display: none;
}
.examples-nav .mobile-select-nav {
display: none;
}
.upgrade-register__label {
display: none;
}
.hide--tablet {
display: none !important;
}
:-moz-any(.footer-country-select):before {
display: none;
}
.hide--mobile {
display: none !important;
}
.tabular-grid--nohardware .tabular-grid-item picture {
display: none;
}
.hide--desktop {
display: none !important;
}
.marketing-nav__secondary__close {
display: none;
}
.accordion-item--mobile .accordion-content {
display: none;
}
.display--mobile,
.display--tablet,
.display--desktop {
display: none !important;
}
.accordion-item .accordion-content {
display: none;
}
.marketing-select-wrapper>select::-ms-expand {
display: none;
}
.slider__arrow {
display: none;
}
.page-header--flairless .section-heading__flair:before {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment