DowDodds Posted August 22, 2022 Share Posted August 22, 2022 Site URL: https://www.kindred.work/servicesv2 Hi 🙂 , I've created 3 custom modals to pop up on a button click by adding a .active class to the modal container. The CSS I've used to achieve this is as follows:  #coach-wrapper {   left: 100vw;   opacity: 0;   transition: all 0.3s ease-in-out;  }  #coach-wrapper.active{   opacity: 100%;   display: flex;   position: relative;   z-index: 1000;   left: 0;  } I expected the modal to slide in from the left however it currently just immediately appears on the page with no transition. Any advice on how to achieve such a transition would be greatly appreciated!  Link to comment
tuanphan Posted August 24, 2022 Share Posted August 24, 2022 Have you tried CSS3 Animation with @keyframe yet? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment