Popover
An element for asynchronous blocking UI
<button popovertarget="demo">Show</button>
<div popover id="demo">…</div>
[popover] {
&, &::backdrop {
transition:
display .5s allow-discrete,
overlay .5s allow-discrete,
opacity .5s;
opacity: 0;
}
}
[popover] {
@starting-style {
&:popover-open,
&:popover-open::backdrop {
opacity: 0;
}
}
}