JSFiddle - React, Tailwind, and code Playground
HTML
<ul>
<li><a>Home</a></li>
<li><a>Products</a></li>
<li><a>Contact Us</a></li>
<li><a>About us</a></li>
</ul>
CSS
ul {
display: inline-block;
margin: 0;
width: 100%;
background: lightblue;
}
li {
float: left;
font-size: 22px;
display: block;
list-style: none;
padding: 2px 10px;
background: lightblue;
position: relative;
}
li a:hover {
cursor: pointer;
color: grey;
}
li:nth-of-type(3) {
margin-left: 60px;
}
li:nth-of-type(3):before {
content: "";
width: 50px;
height: 50px;
display: block;
position: absolute;
top: 50%;
left: -30px;
transform: translate(-50%, -50%);
background: url('https://seemelearntocode.files.wordpress.com/2013/12/treehouse-logo-mark.png');
background-size: contain;
background-repeat: no-repeat;
background-position: 50% 50%;
}