hii css experts - what is the best way to retain the position of anchor-position...

@rebane2001@infosec.exchange

hii css experts - what is the best way to retain the position of anchor-positioned elements when their anchor disappears (e.g. due to display:none)

the default behavior is to just fall back to the center/corner of the screen, which is not what i'd like