CodePen

HTML

            
              <ul>
  <li><a href="#">jkfasdf</a></li>
  <li>
    <a href="#">
      <span>jkffasdf</span>
      <span>jkffasdf</span>    
      <span>jkffasdf</span>    
      <span>jkffasdf</span>  
    </a>
  </li>
</ul>
            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              ul{
  margin:5px;
  background: red;
  float:left;
  border-radius:5px;
}

ul li {
  display: inline-block;
  width: 100px;
  text-align: center;
  vertical-align: middle;
  padding:5px;

}


a {
  text-decoration:none;
  color:black;
  width: 100px;
  display:table-cell;
  vertical-align:middle;
  height:75px;
}

a:hover, a:focus {
  font-weight:bold;

}

span {
  display:block;
  text-align: center;

}

            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

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