<section>
  <table>
    <tr>
      <td><a>a</a></td>
      <td><a>b</a></td>
      <td><a>c</a></td>
      <td><a>d</a></td>
      <td><a>e</a></td>
    </tr>
    <tr>
      <td><a>f</a></td>
      <td><a>g</a></td>
      <td><a>h</a></td>
      <td><a>i</a></td>
      <td><a>j</a></td>
    </tr>
    <tr>
      <td><a>k</a></td>
      <td><a>l</a></td>
      <td><a>m</a></td>
      <td><a>n</a></td>
      <td><a>o</a></td>
    </tr>
    <tr>
      <td><a>p</a></td>
      <td><a>q</a></td>
      <td><a>r</a></td>
      <td><a>s</a></td>
      <td><a>t</a></td>
    </tr>
    <tr>
      <td><a>u</a></td>
      <td><a>v</a></td>
      <td><a>w</a></td>
      <td><a>x</a></td>
      <td><a>y</a></td>
    </tr>
  </table>
</section>
body {
  background: #33405F;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}

section {
  background: #EEEEEE;
  border-radius: 3px;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
  margin: 1em auto;
  max-width: 232px;
  padding: 1em;
}

table {
  width: 200px;
  margin: 0 auto 1em;
  border-collapse: collapse;
}

td {
  position: relative;
  background: #DDDDDD;
  border: 2px solid #FFFFFF;
  color: #232C88;
  cursor: pointer;
  padding: 5px 0;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
  width: 20%;
	z-index: 100;

  &::before {
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    border: 2px solid #232C88;
    content: '';
    opacity: 0;
    transition: opacity 0.2s;
    width: auto;
    height: auto;
		z-index: -1;
  }

  &:hover {
    background: #FFFFFF;
    color: darken(#232C88, 5%);
  }

  &:hover::before {
    opacity: 1;
  }
}

a:hover {
	color: red;
}
View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.