Skip to content

Instantly share code, notes, and snippets.

@derek
Forked from ggoodman/app.js
Created March 7, 2012 02:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save derek/1990582 to your computer and use it in GitHub Desktop.
Save derek/1990582 to your computer and use it in GitHub Desktop.
Plunker YUI template
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!-- The YUI CSS Reset. Optional -->
<!-- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.4.1/build/cssreset/cssreset-min.css"> -->
<link rel="stylesheet" href="style.css">
<!-- Load the YUI seed file. http://yuim.in/ always loads the latest version -->
<script src="http://yuim.in/"></script>
<script src="script.js"></script>
</head>
<body>
<h1>Basic plunk!</h1>
<p>If the header above is red, then you know Plunker is working!</p>
<!-- Put your html here! -->
</body>
</html>
YUI().use(/* Modules to load here */ 'node', 'transition', function (Y) {
// Your implementation code here.
// And don't forget to specify additional modules if you need them.
Y.one('h1').transition({
'duration': '0.75',
'marginLeft': '20px'
});
});
/* Put your css in here */
h1 {
color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment