This file contains hidden or 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
%p{:style => 'position: absolute; top: 10px; left: 10px; margin: 0;'} Use Google Chrome for best experience. | |
.container | |
.rubiks-cube.rubiks-cube-1 | |
- (1...28).each do |i| | |
.detail | |
.side.front | |
.side.back | |
.side.top | |
.side.bottom | |
.side.left |
This file contains hidden or 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
<body onload="APP=APP(); APP.main() " | |
onresize="APP.setCanvasSize()" > | |
<h2>Rubik’s Cube.</h2> | |
<div id="left"> | |
<!-- <canvas id="canvas" width="600" height="600"> --> | |
<canvas id="canvas" style="width: 100%;" > | |
Oops, your browser does not support the canvas element. | |
</canvas> | |
</div> |