Skip to content

Instantly share code, notes, and snippets.

@yoavweiss
Created December 7, 2015 21:03
Show Gist options
  • Save yoavweiss/801c631032c8027fe8a0 to your computer and use it in GitHub Desktop.
Save yoavweiss/801c631032c8027fe8a0 to your computer and use it in GitHub Desktop.
<picture>
<source srcset="http://placehold.it/300.png">
<img src="http://placehold.it/100.png" id=bla>
</picture>
<script>
(function() {
var img = document.getElementById("bla");
img.parentNode.removeChild(img);
})();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment