Skip to content

Instantly share code, notes, and snippets.

@xiaody
Created November 24, 2012 10:25
Show Gist options
  • Save xiaody/4139113 to your computer and use it in GitHub Desktop.
Save xiaody/4139113 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 {
position: absolute;
background:red;
margin:10px;
color:yellow;
border:15px dashed;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
<!-- content to be placed inside <body>…</body> -->
<div id=d1>
// alert('Hello world!');
{"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