Commit 0a0fef96 authored by Guillaume Seguin's avatar Guillaume Seguin

Reduce perspective effect on boxes

parent e2d39db0
......@@ -236,15 +236,15 @@ h2 {
}
.homebox .front {
-webkit-transform: perspective(800px) rotateY(0deg);
transform: perspective(800px) rotateY(0deg);
-webkit-transform: perspective(3200px) rotateY(0deg);
transform: perspective(3200px) rotateY(0deg);
}
.homebox .back {
text-align: justify;
-webkit-transform: perspective(800px) rotateY(-179.9deg);
transform: perspective(800px) rotateY(-179.9deg);
-webkit-transform: perspective(3200px) rotateY(-179.9deg);
transform: perspective(3200px) rotateY(-179.9deg);
}
.homebox .back div {
......@@ -258,13 +258,13 @@ h2 {
}
.homebox:hover .front, .homebox:focus .front {
-webkit-transform: perspective(800px) rotateY(179.9deg);
transform: perspective(800px) rotateY(179.9deg);
-webkit-transform: perspective(3200px) rotateY(179.9deg);
transform: perspective(3200px) rotateY(179.9deg);
}
.homebox:hover .back, .homebox:focus .back {
-webkit-transform: perspective(800px) rotateY(0deg);
transform: perspective(800px) rotateY(0deg);
-webkit-transform: perspective(3200px) rotateY(0deg);
transform: perspective(3200px) rotateY(0deg);
}
.homebox-large>div {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment