If I have HTML and CSS like this:
ul {
columns: 2;
}
a:hover {
background: red;
box-shadow: 0 0 10px 5px red;
}
<ul>
<li><a href="#">Item 1</a></li>
<li><a href="#">Item 2</a></li>
<li><a href="#">Item 3</a></li>
<li><a href="#">Item 4</a></li>
<li><a href="#">Item 5</a></li>
<li><a href="#">Item 6</a></li>
</ul>
Then, using macOS Safari (v15.4), hovering over items, they move around to make space for the top of the box-shadow. In the left-hand column it even changes how many items appear in each column.
In iOS Safari (iOS 15.6) only the item at the top of the second column moves.
Firefox and Chrome keep all the elements still.
Any suggestions how to get Safari to do the same?