I managed to apply a @starting-style transition to a popover, but I can't figure out how to apply a closing animation since the pseudo-element :closed is not supported
The goal would be to do something like:
[popover]:closed {
opacity: 0;
transform: translateY(10px) scale(0.95);
}