0

Let's say I have an Image, use it with display: none; Are Client Browser downloding that image?

  • 2
    possible duplicate of [Does "display:none" prevent an image from loading?](http://stackoverflow.com/questions/12158540/does-displaynone-prevent-an-image-from-loading) – showdev Dec 10 '14 at 18:52
  • Yes, it still downloads the image if you are using a `` tag. Now, if you choose to load the image from css `url('')` it will be downloaded only when showed – LcSalazar Dec 10 '14 at 18:59

1 Answers1

1

Yes, display: none only hides it on the screen, the CSS does not stop the request from image being downloaded to client.

jbarnett
  • 954
  • 4
  • 6