CodePen

HTML

            
              <ul>
  <li>
    <img src = "http://placehold.it/400x100">
  </li>
</ul>

            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              li{
  overflow:hidden;
  width: 250px;
}
img {
  border: 3px solid pink;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................