Why does the text load before the border on my interaction?

Because your element does not have the overflow:hidden property, so its content shows up entirely when you display it. So set it to overflow:hidden.

1 Like