Stacked Top Links
Navigation begins as a single row at the top of the layout. At a specified breakpoint, the entire nav stacks at the top.
<style>
.main_cta img { width: 100%; height: auto !important; }
/* Stacked Top Links Navigation Pattern CSS */
@media only screen and (max-width: 400px) {
td[class="main_nav"] td {
display: block;
padding: 0 !important;
}
td[class="main_nav"] a {
display: block;
padding: 20px 0;
border-bottom: 1px solid #999;
}
}
</style>
<table cellpadding="0" cellspacing="0">
<tr>
<td class="main_nav" width="600">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="padding: 15px 10px; font-family: arial,sans-serif; font-size: 12px; font-weight: bold;">
<a href="#" style="text-decoration: none; color: #999999;">Navigation 1</a>
</td>
<td align="center" style="padding: 15px 10px; font-family: arial,sans-serif; font-size: 12px; font-weight: bold;">
<a href="#" style="text-decoration: none; color: #999999;">Navigation 2</a>
</td>
<td align="center" style="padding: 15px 10px; font-family: arial,sans-serif; font-size: 12px; font-weight: bold;">
<a href="#" style="text-decoration: none; color: #999999;">Navigation 3</a>
</td>
<td align="center" style="padding: 15px 10px; font-family: arial,sans-serif; font-size: 12px; font-weight: bold;">
<a href="#" style="text-decoration: none; color: #999999;">Navigation 4</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="main_cta" style="padding-bottom: 10px;">
<img src="http://placehold.it/600x300&text=Main+CTA" alt="" style="display: block; border: 0;" />
</td>
</tr>
</table>