<div class="wrap">
<section>
<table>
<tr>
<td><div>a</div></td>
<td><div>b</div></td>
<td><div>c</div></td>
<td><div>d</div></td>
<td><div>e</div></td>
</tr>
<tr>
<td><div>f</div></td>
<td><div>g</div></td>
<td><div>h</div></td>
<td><div>i</div></td>
<td><div>j</div></td>
</tr>
<tr>
<td><div>k</div></td>
<td><div>l</div></td>
<td><div>m</div></td>
<td><div>n</div></td>
<td><div>o</div></td>
</tr>
<tr>
<td><div>p</div></td>
<td><div>q</div></td>
<td><div>r</div></td>
<td><div>s</div></td>
<td><div>t</div></td>
</tr>
<tr>
<td><div>u</div></td>
<td><div>v</div></td>
<td><div>w</div></td>
<td><div>x</div></td>
<td><div>y</div></td>
</tr>
</table>
</section>
</div>
body {
background: #33405f;
font-family: 'Open Sans', sans-serif;
font-size: 16px;
}
.wrap {
padding: 1em;
margin: 1em auto;
max-width: 232px;
background: #eee;
border-radius: 3px;
box-shadow: 1px 2px 10px rgba(0, 0, 0, .5);
table {
width: 200px;
margin: 0 auto 1em;
border-collapse: collapse;
td {
width: 20%;
text-transform: uppercase;
color: #232c88;
cursor: pointer;
div {
padding: 5px 0;
width: 100%;
border: 2px solid #fff;
transition: all .2s ease-in-out;
text-align: center;
background: #ddd;
margin: -1px 2px -4px -1px;
position: relative;
&:hover {
background: #fff;
color: darken(#232c88, 5%);
border: 2px solid #232c88;
}
}
}
}
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.