@MDN ✨ You can't add a closing animation using css, so you'll have to write an ugly crutch in js