Created
February 21, 2019 18:55
-
-
Save graphoarty/daad94bc6b20093ef487ae2b3b171878 to your computer and use it in GitHub Desktop.
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
<style> | |
/* CSS applied on the body */ | |
body { | |
/* Making sure that the body fills up the entire window */ | |
margin: 0px; | |
/* If there is an overflow, which basically means if there is an object that goes outside the display, just hide it or hide the part that goes outside. These are the preferred options for Three.js */ | |
overflow: hidden; | |
} | |
/* CSS applied to the class .full-screen */ | |
.full-screen { | |
/* Set the position of the element relative to left, right, bottom or top */ | |
position: absolute; | |
/* Set the object 0 pixels from the bottom */ | |
bottom: 0px; | |
/* Set the object 0 pixels from the left */ | |
left: 0px; | |
/* Set the object 0 pixels from the right */ | |
right: 0px; | |
/* Set the object 0 pixels from the top */ | |
top: 0px; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment