Skip to content

Instantly share code, notes, and snippets.

@xiaody
Created October 20, 2012 11:35
Show Gist options
  • Save xiaody/3923072 to your computer and use it in GitHub Desktop.
Save xiaody/3923072 to your computer and use it in GitHub Desktop.
css id selector rules can work on multiple elements
/**
* css id selector rules can work on multiple elements
*/
#d1 {
width:300px;
height:100px;
background:red;
margin:10px;
color:yellow;
border:5px solid;
}
<!-- content to be placed inside <body>…</body> -->
<div id=d1></div><section id=d1></section><p id=d1></p>
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment