Skip to content

Instantly share code, notes, and snippets.

@phawk
Created March 18, 2011 19:33
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 phawk/876690 to your computer and use it in GitHub Desktop.
Save phawk/876690 to your computer and use it in GitHub Desktop.
shortcut that doesn't rely on .js
// you need js if you want to reference:
header{
color: 'pink';
}
// but without the need for js you can have:
<header id="header">
and do
#header{
color: 'pink';
}
/* Looks ugly, but if you need to do a site with support for ie6 it's still better than div's */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment