JSFiddle - React, Tailwind, and code Playground
HTML
<div id="wrapper">
<div class="container">
<img src="flower.jpg" />
</div>
<div class="header">
<ul>
<li><a href="default.asp">Home</a></li>
<li><a href="news.asp">News</a></li>
<li><a href="contact.asp">Contact</a></li>
<li><a href="about.asp">About</a></li>
</ul>
</div>
CSS
#wrapper {
position: absolute;
background-color: white;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
}
img {
width: 100%;
height: 100%;
display: block;
}
.header {
width: 100%;
height: 100px;
background-color: green;
text-align: center
}
.header a {
color: black;
text-decoration: none;
margin: 50px;
padding: 10px;
font-size: 40px;
}
ul {
display: flex;
flex-direction: row;
justify-content: center;
list-style-type:none;
}