Skip to content

Instantly share code, notes, and snippets.

@robinsloan
Created August 20, 2012 20:12
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinsloan/3407429 to your computer and use it in GitHub Desktop.
Save robinsloan/3407429 to your computer and use it in GitHub Desktop.
Responsive verbs
.clickTouchCap:before {
content: 'Click';
}
.clickTouch:before {
content: 'click';
}
@media only screen and (max-width: 767px) {
.clickTouchCap:before {
content: 'Touch';
}
.clickTouch:before {
content: 'touch';
}
}
<!-- from http://www.robinsloan.com/note/what-happens-in-the-dark/ -->
<p>
<span class="clickTouchCap"></span> the cover below to turn off the lights:
</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment