Delay in centering
Good morning, I'm experiencing a pretty significant delay between page load and the element being centered. About a half-second or so.
I was able to work around this by adding the following to my stylesheet:
.midway-vertical,
.midway-horizontal {
display: none;
}
This works because Midway() applies display: inline; to the element when centering, but it still feels kind of dirty. Do you have any suggestions? Have you encountered this?
This is a pretty green-pasture project with almost no CSS to cause conflict. Just normalize.css.
I have the same issue. This looks like a good workaround for the moment.
I am having a similar issue. The vertical alignment works on load but the horizontal doesn't work until the page is resized?
display: none; seems to have fixed it though.