<div class="wrap">
<section>
<table>
<tr>
<td>a</td>
<td>b</td>
<td>c</td>
<td>d</td>
<td>e</td>
</tr>
<tr>
<td>f</td>
<td>g</td>
<td>h</td>
<td>i</td>
<td>j</td>
</tr>
<tr>
<td>k</td>
<td>l</td>
<td>m</td>
<td>n</td>
<td>o</td>
</tr>
<tr>
<td>p</td>
<td>q</td>
<td>r</td>
<td>s</td>
<td>t</td>
</tr>
<tr>
<td>u</td>
<td>v</td>
<td>w</td>
<td>x</td>
<td>y</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;
border: 2px solid #fff;
padding: 5px 10px;
text-align: center;
background: #ddd;
transition: all .2s ease-in-out;
&: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.