JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title> Portfolio </title>
<link rel="stylesheet" text="text/css" href="css/main.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="My new portfolio!">
<meta name="keywords" content="HTML, CSS, PORTFOLIO, WEB DESIGN, WEB DEV">
<meta name="author" content="Fotan Fotan">
<link href='https://fonts.googleapis.com/css?family=Didact+Gothic' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="wrapper">
<header>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</header>
<section>
<div class="box">
<p> bla bla </p>
</div>
<div class="box">
</div>
</section>
</div>
</body>
</html>
CSS
* {
margin: 0;
padding: 0;
}
body {
font-family: 'Didact Gothic', sans-serif;
background-image: url(../images/pink_rice.png);
}
#wrapper {
width: 100%;
max-width: 1366px;
height: auto;
margin: auto;
}
/**** Header ****/
header {
width: 90%;
height: 50px;
margin: 0 auto;
background-color: #36FF54;
border: 5px solid #36FF54;
}
ul {
width: 35%;
padding: 15px;
font-weight: 500;
font-size: 1.1em;
}
li {
display: inline;
padding: 15px;
}
li a {
text-decoration: none;
color: #fff;
padding: 10px;
}
li a:hover {
background-color: #FFF;
color: #111;
}
section {
overflow: auto;
width: 90%;
height: auto;
margin: 0 auto;
background-color: #fff;
}
.box {
width: 90%;
height: 300px;
margin: 2% auto;
border: 5px solid #36FF54;
background: #ffffff;
}