Created
March 18, 2011 19:33
-
-
Save phawk/876690 to your computer and use it in GitHub Desktop.
shortcut that doesn't rely on .js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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