css - Img load while refreshing

admin2025-04-20  0

Last 2 days I'm working with the / site, but my problem is that the logo in my menubar is showing up in the refresh. I just would like to have the img showing up when the refresh is done!

Can you guys help me? Because I'm stick with that problem for just a day. Thanks.

Last 2 days I'm working with the https://www.memo-ict.nl/ site, but my problem is that the logo in my menubar is showing up in the refresh. I just would like to have the img showing up when the refresh is done!

Can you guys help me? Because I'm stick with that problem for just a day. Thanks.

Share Improve this question edited Oct 4, 2019 at 9:43 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Oct 4, 2019 at 8:08 Valdemar - memo ictValdemar - memo ict 1
Add a comment  | 

1 Answer 1

Reset to default 0

You are resizing your logo in your css, giving that flash of unstyled content on load/reload. It's original size is 150x150px. You have at least two options:

  1. Change it for a smaller version (75x75px), avoiding the jarring resize.
  2. Alter the css to make it display:none (like your other logos) and make it fade in with javascript.

Give these a try.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745106338a285311.html

最新回复(0)