JSFiddle - React, Tailwind, and code Playground

by cherryflavourpez

HTML

<div id="header">
	<header role="banner">
        <img src="http://placehold.it/200x200">
		<nav id="navigation" role="navigation">
		<ul>
			<li><a href="#" title="About Us">About Us</a></li>
            <li><a href="#" title="Biographies">Biographies</a></li>
            <li><a href="#" title="Services">Services</a></li>
            <li><a href="#" title="Careers">Careers</a></li>
            <li><a href="#" title="Contact">Contact</a></li>
		</ul>
		</nav>
</header>

CSS

header img, header nav {
    display: inline-block;
    *display: inline;
    vertical-align: middle;
}

header img {
    height: auto;
    width: 25%;
}

header nav {
    width: 70%;
    font-size: 1em;
}

header nav ul {
    padding: 0;
    margin: 0;
}

header nav li {
    display: inline-block;
}
		
header nav li a {
    display: block;
    padding: .4em .8em;
	font-size: 1em;
	text-decoration: none;
	color: black;
    background: #eee;
	line-height: 1;
}