Skip to content

Commit 42256ff

Browse files
committed
Merge pull request #1 from iDreadful/gh-pages
3D perspective fix
2 parents fa53758 + 89af895 commit 42256ff

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

style.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
padding: 0;
55
}
66

7+
body {
8+
-webkit-perspective: 500px;
9+
-moz-perspective: 500px;
10+
-o-perspective: 500px;
11+
perspective: 500px;
12+
}
13+
714
html, body {
815
width: 100%;
916
height: 100%;
@@ -30,11 +37,6 @@ footer {
3037
}
3138

3239
& .section3d {
33-
-webkit-perspective: 500px;
34-
-moz-perspective: 500px;
35-
-o-perspective: 500px;
36-
perspective: 500px;
37-
3840
position: absolute;
3941
top: 50%;
4042
left: 50%;

0 commit comments

Comments
 (0)