Skip to content

Instantly share code, notes, and snippets.

@CarlRevell
Created December 30, 2013 15:14
Show Gist options
  • Save CarlRevell/8183230 to your computer and use it in GitHub Desktop.
Save CarlRevell/8183230 to your computer and use it in GitHub Desktop.
Old but sometimes useful single character CSS hacks for targeting IE6 and IE7, typically when testing some bugfix for these old browsers.
#myelement {
color: #999; /* shows in all browsers */
*color: #999; /* notice the * before the property - shows in IE7 and below */
_color: #999; /* notice the _ before the property - shows in IE6 and below */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment