From 371b49e460510798b8cd82fac1a801ead0ec1748 Mon Sep 17 00:00:00 2001 From: TreetopFlyer Date: Wed, 4 Aug 2021 17:05:27 -0400 Subject: [PATCH] centered absolute --- index.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 102b0dc..8c38354 100644 --- a/index.html +++ b/index.html @@ -216,11 +216,14 @@ h2[data-spy='true'] .shot3d img { - position:relative; - width:100%; - height:auto; + position:absolute; + bottom:0; + left: 0; + right: 0; + margin:0 auto; + max-width:100%; + max-height:100%; transform-style: preserve-3d; - transform: rotateX(-15deg); } .shot3d::before @@ -241,7 +244,11 @@ h2[data-spy='true']
- + + + + +