From 4f7263432c344bf1e37bad835aa5e95668ec0fdf Mon Sep 17 00:00:00 2001 From: Sriram Hariharan Date: Sat, 7 Jul 2018 11:01:21 -0500 Subject: [PATCH] scrolling --- styles.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/styles.css b/styles.css index 592c669f..1c93a0ba 100644 --- a/styles.css +++ b/styles.css @@ -15,6 +15,8 @@ .modal-content { background-color: #fefefe; margin: auto; + max-height: 60%; + overflow-y: auto; padding: 20px; border: 1px solid #888; width: 50%; @@ -127,15 +129,15 @@ 0% { transform: scale(0, 0); opacity: 1; - } - 20% { +} +20% { transform: scale(25, 25); opacity: 1; - } - 100% { +} +100% { opacity: 0; transform: scale(40, 40); - } +} } .matbut:focus:not(:active)::after {