When I click a pop-out menu in Bootstrap
, it takes a couple seconds to open because it is full on .pngs inside of it. I have already tried using .svgs here instead, but they were a nightmare to render consistently.
What is the best way to have these .png files load on page-load, so that the opening of the pop-out menu is instantaneous? I currently have this at the bottom of the page, which does not make clicking the pop-out menu load any faster.
<div style="display: hidden">
<img src="img1">
<img src="img2">
... etc ...
</div>