Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <style>
    @media screen and (max-width: 768px){
      img{
        display: none;
      }
    }
  </style>
  <title>Hidden images on mobile optimization</title>
</head>
<body>
  <picture>
    <source srcset="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" media="(max-width: 768px)"> 
    <img src="https://placekitten.com/200/300" alt="Cute kittens" width="200" height="300">
  </picture>
</body>
</html> 
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
SNielspro
0viewers