Skip to content
Browse files

cleaned up css styling

  • Loading branch information...
1 parent 8a5b29a commit bf8ed43639f53fdcf2dce59132db8f2493f03cbb @twobit committed
Showing with 3 additions and 3 deletions.
  1. +2 −2 index.css
  2. +1 −1 index.html
View
4 index.css
@@ -6,7 +6,7 @@
/* Demo Styles */
html {background: #1C2C45;}
-#viewport {position: absolute; top: 0; left: 0; right: 0; bottom: 0; -webkit-perspective: 100;}
+#viewport1 {position: absolute; top: 0; left: 0; right: 0; bottom: 0; -webkit-perspective: 100;}
#stage1 div.layer {margin-left: -879px; width: 1758px; height: 699px;}
#stage1 a.layer {display: block; top: 200px; margin-left: 250px; width: 193px; height: 162px;}
@@ -22,4 +22,4 @@ html {background: #1C2C45;}
#stage1 #hypernaut {background-image: url(img/hypernaut.png); -webkit-transform: translate3d(0, 0, 0); -webkit-animation: float 3s linear infinite alternate;}
/*#viewport:hover #hypernaut {-webkit-transform: translate3d(0, 0, 10px);}*/
-#content {max-width: 470px; min-height: 400px; margin: 100px auto; background: #D9D9B8; border-radius: 10px; -webkit-transform: translate3d(0, 0, -100px); -webkit-perspective: 100;}
+#content {position: relative; max-width: 470px; min-height: 400px; margin: 100px auto; background: #D9D9B8; border-radius: 10px;}
View
2 index.html
@@ -5,7 +5,7 @@
<link rel="stylesheet" type="text/css" href="index.css" />
</head>
<body>
- <div id="viewport" class="viewport">
+ <div id="viewport1" class="viewport">
<div id="stage1" class="stage">
<div id="stars" class="layer"></div>
<div id="gas" class="layer"></div>

0 comments on commit bf8ed43

Please sign in to comment.
Something went wrong with that request. Please try again.