I've been working on this code for a while now, but I can't seem to get it right.
My goal is to create a horizontal line of navigation links with the first link aligned to the left and the rest following in sequence like a text line.
However, all my links are currently stacked on top of each other. What am I missing that's preventing them from appearing side by side?
.logo {
font-family: 'Work Sans';
font-weight: 100;
font-size: 150px;
color: #B5B5B5;
position: absolute;
margin-top: 25px;
text-align: right;
}
.logo::before {
content: '////////////////////////////////////////////';
font-weight: 300;
letter-spacing: 4px;
font-size: 25px;
color: #ff00ff;
}
.navs a {
box-sizing: border-box;
display: inline;
position: absolute;
left: 0;
margin: -10px 15px 0px;
width: 135px;
border-bottom:1px solid #333;
padding:6px;
font:14px 'share tech mono';
text-transform:uppercase;
letter-spacing:1px;
color:#B5b5b5;
text-align: left;
}
<div class="logo">
STICTION
<div class="navs"><a href="/">QUICK-START</a> <a href="/">RULES</a></div></div>
If you need more code to troubleshoot the issue, just let me know.