How do you currently tether one element to another? You might try tracking their positions, or use some form of wrapper element. <!-- index.html --> <div class="container"> <a href="/link" class="anchor">I’m the anchor</a> <div class="anchored">I’m the anchored thing</div> </div> /* styles.css */ .container { position: relative; } .anchored { position: absolute; } These solutions often aren't idea