Skip to content

Instantly share code, notes, and snippets.

@tsq
Created October 2, 2015 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsq/5a7b08fb1047cfa0322d to your computer and use it in GitHub Desktop.
Save tsq/5a7b08fb1047cfa0322d to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<!--Time found that if you used display:none on the parent of the element you want to hide, the bg image will not be downloaded-->
<div style="display: none">
<div style="background-image: url(https://avatars0.githubusercontent.com/u/6081537?v=3&s=40)"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment