Created
July 4, 2012 17:44
-
-
Save stpettersens/3048553 to your computer and use it in GitHub Desktop.
CSS for canvas 'layers'.
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
/* (Demonstration) canvases. */ | |
canvas { | |
position: absolute; | |
margin: auto; | |
border: 1px solid #c3c3c3; | |
} | |
/* 'position: absolute;' is used as I found this caused the canvases | |
to stack upon each other in layers as I had intended. */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment