developer.chrome.com
Tether elements to each other with CSS anchor positioning
5
A new API is coming to the web platform to help you position elements in an adaptive way with no tricks. Read full article