diff --git a/animation/03-pop-up/solution/solution.css b/animation/03-pop-up/solution/solution.css index e69de29..dec9f46 100644 --- a/animation/03-pop-up/solution/solution.css +++ b/animation/03-pop-up/solution/solution.css @@ -0,0 +1,26 @@ +* { + padding: 0; + margin: 0; +} + +#popup-container { + width: 100vw; + height: 100vh; + display: flex; + justify-content: center; + align-items: center; +} + +.popup-modal { + position: absolute; + width: 30%; + border: 1px solid black; + background-color: white; + display: flex; + justify-content: space-between; + visibility: hidden; +} + +.show { + visibility: visible; +} diff --git a/animation/03-pop-up/solution/solution.html b/animation/03-pop-up/solution/solution.html index 1651eae..66c1d70 100644 --- a/animation/03-pop-up/solution/solution.html +++ b/animation/03-pop-up/solution/solution.html @@ -5,9 +5,16 @@
Hey there!
+ +