diff --git a/code/03-using-css-animations/src/components/Modal/Modal.css b/code/03-using-css-animations/src/components/Modal/Modal.css index eacf239c3d..2696a57d06 100644 --- a/code/03-using-css-animations/src/components/Modal/Modal.css +++ b/code/03-using-css-animations/src/components/Modal/Modal.css @@ -19,6 +19,7 @@ .ModalClosed { animation: closeModal 0.4s ease-out forwards; + z-index: -100; } @keyframes openModal { @@ -49,4 +50,4 @@ opacity: 0; transform: translateY(-100%); } -} \ No newline at end of file +}