Having an issue with a section of links. The blocks for the links are lining up next to each other when the viewport is wide, but I want one block labeled MOBOT to drop down onto a new line in a small responsive space.
The goal is for the MOBOT square to clear the first line of squares completely, like the link below Apologies for the hack together illustrator screenshot.
Here is my html:
<h4 class="sub-head-top">Quick Links</h2>
<ul class="traditions">
<a href="#booth"><li class="quicklink">Booth</li></a>
<a href="#buggy"><li class="quicklink">Buggy</li></a>
<a class="last" href="#mobot"><li class="quicklink">Mobot</li></a>
</ul>
And here is my css:
ul.traditions {
padding-top:12px;
padding-bottom:10px;
}
ul.traditions li {
display: inline;
list-style:none;
}
ul.traditions li.quicklink {
background-color:#37BEEC;
font-family:'Montserrat', Arial, Helvetica;
text-transform:uppercase;
font-size:.8em;
letter-spacing:.1em;
color:white;
font-weight:bold;
padding:15px 18px;
text-decoration: none;
}
ul.traditions a {
color:white;
text-decoration: none;
margin:0px 13px 0px 0;
}
ul.traditions a.last {
margin:0 0px 0px 0;
}
Any advice on adjusting padding/margins or anything else in my code? My coding knowledge is limited, so any help would be appreciated!
Thanks!! :)