From e3bb654be64f0081ccd447c9bc3f74286444e901 Mon Sep 17 00:00:00 2001 From: TreetopFlyer Date: Thu, 12 Aug 2021 15:30:14 -0400 Subject: [PATCH] trying to resolve sorting issues --- index.html | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 8366f5a..19d2f22 100644 --- a/index.html +++ b/index.html @@ -20,8 +20,8 @@ } .Shot[show="cover"]{ transform: perspective(1000px) rotateY(110deg); } .Shot[show="spine"]{ transform: perspective(1000px) rotateY(180deg); } - .Shot[show="back" ]{ transform: perspective(1000px) rotateY(-60deg); } - .Shot[show="pages"]{ transform: perspective(1000px) rotateY(0deg); } + .Shot[show="back" ]{ transform: perspective(1000px) rotateX(-30deg) rotateY(-60deg); } + .Shot[show="pages"]{ transform: perspective(800px) rotateY(0deg); } .Book { @@ -61,27 +61,38 @@ float:left; position:relative; } - .Spine__Glue[swing='right'] .Panel {box-shadow:0px 0px 2px rgb(0 0 0 / 24%)} - .Spine__Glue[swing='left' ] .Panel {box-shadow:0px 0px 2px rgb(0 0 0 / 24%)} + .Spine__Glue[swing='right'] .Panel {box-shadow:3px 0px 2px rgb(0 0 0 / 24%)} + .Spine__Glue[swing='left' ] .Panel {box-shadow:3px 0px 2px rgb(0 0 0 / 24%)} .Panel.Page { height:98%; top:1%; + transform:translateX(1px); + transform-style:preserve-3d; } .Panel img { display:block; + position:relative; + z-index:1; height:100%; width:auto; - backface-visibility: hidden; + backface-visibility: visible; + transform: rotateY(180deg); } .Panel img:last-child { position:absolute; top:0; left:0; - transform: rotateY(180deg); + backface-visibility: hidden; + transform: rotateY(0deg); + } + .Panel.Flip + { + transform-style:preserve-3d; + transform:rotateY(180deg); } .Shadow-Sheet-Before::before, .Shadow-Sheet-After::after { @@ -93,6 +104,7 @@ display:block; position:absolute; + z-index:100; top:0; left:0; width:100%; @@ -100,7 +112,7 @@ backface-visibility: hidden; } - .Panel::after + .Shadow-Sheet-Before::before { transform:rotateY(180deg) scaleX(-1); } @@ -126,6 +138,7 @@ position: absolute; bottom: 0; left: 0; + z-index:100; width: 100%; height: 100%; } @@ -133,7 +146,7 @@
- +
@@ -149,18 +162,19 @@
-
+
+
- + - - - + + +