CodePen

HTML

            
              .box
  a href="#" Link
.box.tall
  a href="#" Link
.box
  a href="#" Link
.box.tall
  a href="#" Link
.box
  a href="#" Link
.box
  a href="#" Link
.box.tall
  a href="#" Link
.box
  a href="#" Link
.box
  a href="#" Link
            
          
!

CSS

            
              .box {
  width: 200px;
  height: 200px;
  margin: 0 10px 10px 0;
  background: #ccc;
  display: inline-block;
  vertical-align: top;
  position: relative;
  
  &.tall {
    height: 400px;
  }
}

a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

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