From 8a94fb0d4a46f687c6be4697c887636701511d5a Mon Sep 17 00:00:00 2001 From: Pulkit Gupta Date: Thu, 2 Sep 2021 11:27:18 +0530 Subject: [PATCH] made Modal Animation project Responsive --- Modal/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Modal/style.css b/Modal/style.css index b564c32..5b7e581 100644 --- a/Modal/style.css +++ b/Modal/style.css @@ -105,3 +105,16 @@ footer { left: 5px; color: white; } +@media (max-width: 600px) { + body { + text-align: center; + } + .modal { + width: 80vw; + margin: auto; + height: 50vh; + position: absolute; + padding: 20px; + right: 7%; + } +}