-
-
Save derek/1990582 to your computer and use it in GitHub Desktop.
Plunker YUI template
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
<!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> |
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
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' | |
}); | |
}); |
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
/* 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