Skip to content

Instantly share code, notes, and snippets.

@seongyooncho
Created June 21, 2014 10:13
Show Gist options
  • Save seongyooncho/c15bc1a5c0f9c48a5f03 to your computer and use it in GitHub Desktop.
Save seongyooncho/c15bc1a5c0f9c48a5f03 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
div {
background: blue;
width: 100px;
height: 100px;
}
<!-- content to be placed inside <body>…</body> -->
<div id="hello">hello</div>
// alert('Hello world!');
$("div").click(function(){alert("hello");});
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"javascript"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment