From 154805cf22c35513874b077e27b2513c43ff72de Mon Sep 17 00:00:00 2001 From: Sandy Maguire Date: Thu, 16 Jul 2020 09:20:27 -0700 Subject: [PATCH] Enable daniel's fancy button effects --- docs/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/style.css b/docs/style.css index 511c85f..a632028 100644 --- a/docs/style.css +++ b/docs/style.css @@ -57,6 +57,17 @@ button#buy { padding: 0.5em 0.8em; font-size: 16pt; cursor: pointer; + transform-style: preserve3d; + transition: 0.15s ease-in-out; + box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); +} + +button#buy:hover { + transform: translateY(-2px); +} + +button#buy:active { + transform: translateY(0); } body {