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
// Vertical Rhythm ported from SASS/Compass | |
// Works exactly as before, with four exceptions: | |
// 1. rhythm() is a mixin, $rhythm() is a function. Stylus doesn't differentiate between same-name mixins and functions | |
// 2. All of the variables you're used to lack the dollar sign ($) prepend. | |
// 3. debug-vertical-alignment uses a temporary online image solution via http://basehold.it | |
// 4. There is no h-borders alias. Use horizonatal-borders instead. | |
// The base font size. | |
base-font-size ?= 16px |
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
### | |
# Solo Pong - Declan de Wet | |
# TODO: Prevent paddle from going out of the viewport | |
# TODO: Implement collision animations | |
# TODO: Music and sound | |
# TODO: Keyboard controls | |
### | |
# Create a self-instantiating shim/polyfill for the requestAnimationFrame API, if it does not exist, |
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 name="description" content="Futuristic HUD single-div no-image CSS3 loading spinner" /> | |
<title>CSS3 Loading Spinner</title> | |
</head> | |
<body> | |
<div id="spinner"></div> | |
</body> | |
</html> |
NewerOlder