JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<title>My Company Name</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header class="mainHeader">
<nav class="mainNav">
<h1 class="mainLogo">My <span class="thinMainLogo">Logo</span></h1>
<ul class="mainLoc">
<li>About</li>
<li>PortFolio</li>
<li>Contact</li>
<li>Blog</li>
</ul>
</nav>
</header>
</body>
</html>
CSS
@font-face {
font-family:'BrandonGrotesqueBold';
src: url('file:///C:/Users/MyName/Desktop/project/fonts/BrandonGrotesqueBold.ttf');
}
@font-face {
font-family:'BrandonGrotesqueLight';
src: url('file:///C:/Users/MyName/Desktop/project/fonts/BrandonGrotesqueLight.ttf');
}
body {
padding-top: 105px;
color: #CDCDCD;
font-family:'BrandonGrotesqueBold';
}
.mainHeader {
margin-left: auto;
margin-right: auto;
padding-left: 20px;
padding-right: 20px;
width: 1060px;
font-size: 22px;
font-stretch: none;
}
.mainNav {
margin-bottom: 70px;
}
.mainLogo {
font-weight: 500;
s color: black;
font-size: 40px;
}
.thinMainLogo {
font-family:'BrandonGrotesquelight';
}
li {
list-style-type: none;
}
.mainLoc {
float: right;
display: inline;
}