Skip to content

Instantly share code, notes, and snippets.

@shaun-stripe
Created May 27, 2016 21:15
Show Gist options
  • Select an option

  • Save shaun-stripe/95c81acedc250a0269d882fabfab352e to your computer and use it in GitHub Desktop.

Select an option

Save shaun-stripe/95c81acedc250a0269d882fabfab352e to your computer and use it in GitHub Desktop.
/* in http://example.com/viewport.css */
/* 'elementID' must be changed to your desired isolated element ID */
html.mvc__a.mvc__lot.mvc__of.mvc__classes.mvc__to.mvc__increase.mvc__the.mvc__odds.mvc__of.mvc__winning.mvc__specificity,
html.mvc__a.mvc__lot.mvc__of.mvc__classes.mvc__to.mvc__increase.mvc__the.mvc__odds.mvc__of.mvc__winning.mvc__specificity > body {
background: #fff;
width: auto;
min-width: inherit;
max-width: inherit;
height: auto;
min-height: inherit;
max-height: inherit;
margin: 0;
padding: 0;
border: 0;
}
html.mvc__a.mvc__lot.mvc__of.mvc__classes.mvc__to.mvc__increase.mvc__the.mvc__odds.mvc__of.mvc__winning.mvc__specificity > body > * {
display: none !important;
}
html.mvc__a.mvc__lot.mvc__of.mvc__classes.mvc__to.mvc__increase.mvc__the.mvc__odds.mvc__of.mvc__winning.mvc__specificity > body > #elementID {
display: block !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment