Friday, October 26, 2018

CSS: How to preload image resources (including SVGs)

body::after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
    content:url(img01.png) url(img02.png) url(img03.png) url(img04.png);
}

https://stackoverflow.com/questions/1373142/preloading-css-images

No comments:

Post a Comment