JSFiddle - React, Tailwind, and code Playground
HTML
<header>
<div id="logo">
<img src="#" alt="logo">
</div>
<nav>
<ul>
<li id="link1"><a href="#"><img src="#" alt=""; height="100"; width="100"></a>
</li>
<li id="link2"><a href="#"><img src="#" alt=""; height="100"; width="100"></a>
</li>
<li id="link3"><a href="#"><img src="#" alt=""; height="100"; width="100"></a>
</li>
<li id="link4"><a href="#"><img src="#" alt=""; height="100"; width="100"></a>
</li>
</ul>
</nav>
</header>
<footer id="footer">Hello there!</footer>
CSS
body {
text-align: center;
background-color: #1A1A1A;
background-image: url('#');
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
margin:0px;
}
#logo {
background-color: rgba(53, 53, 53, 0.9);
padding: 10px;
position: relative;
margin-right: auto;
margin-left: auto;
margin-bottom: 5px;
height: 90px;
-webkit-border-bottom-left-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
-moz-border-bottom-left-radius: 5px;
-moz-border-bottom-right-radius: 5px;
-ms-border-bottom-left-radius: 5px;
-ms-border-bottom-right-radius: 5px;
-o-border-bottom-left-radius: 5px;
-o-border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
nav {
background-color: rgba(53, 53, 53, 0.9);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-msborder-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
padding: 0px;
position: relative;
margin-right: 0;
margin-left: 0;
}
ul {
list-style: none;
margin: 0;
display: inline-block;
position: relative;
}
li {
display: inline-block;
position: relative;
}
a {
display: inline-block;
text-decoration: none;
height: 100px;
width: 100px;
position: relative;
text-align: center;
}
#link1:hover {
background-color: #727272;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-ms-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
#link1:active {
background-color: #ba6a15;
}
#link2:hover {
background-color: #727272;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-ms-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
#link2:active {
background-color: #ba6a15;
}
#link3:hover {
background-color: #727272;
-webkit-transition: all 0.3s;
...