JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<title>Portfolio</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" type="text/css" href="test.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" type="text/css">
</head>
<body>
<div class="mainHeader">
<h2 class="header__title">Zurivad da Gawd</h2>
<img src="gaszcom.jpg" alt="header logo" class="logo">
</div>
<div class="navBar">
<nav><ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Contact</a></li>
</ul></nav>
</div>
<div class="abSec">
<h4>About Zurivad</h4>
<article>Zurivad is a facility manager with a love for ICT which has developed into the need to learn Front End Web Development. My other hobbies include gaming, music & reading. Zurivad is a facility manager with a love for ICT which has developed into the need to learn Front End Web Development. My other hobbies include gaming, music & reading.Zurivad is a facility manager with a love for ICT which has developed into the need to learn Front End Web Development. My other hobbies include gaming, music & reading.</article>
</div>
<div class="proSec">
<h4>Projects</h4>
</div>
<div class="proCon">
<h4 class="contactList">Contact</h4>
<ul>
<li><a href="#">Email</a></li>
<li><a href="#">Facebook</a></li>
<li><a href="#">Twitter</a></li>
<li><a href="#">LinkedIn</a></li>
<li><a href="#">GitHub</a></li>
</ul>
</div>
<div class="footSec">
<footer>
Copyright Zurivad Tech, 2018.
</footer>
</div>
</body>
</html>
CSS
* {
box-sizing: border-box;
}
body {
margin: 0 auto;
width: 70%;
clear: both;
font-family: Roboto;
font-size: 12px;
color: #424242;
}
.logo {
height: 72px;
margin-right: 0.25em;
vertical-align: top;
margin-top: 12px;
}
.header__title {
width: 100%
line-height:2em;
text-align: right;
margin-right: 10px;
}
a {
text-decoration: none;
}
.navBar nav {
background-color: #666;
height: 40px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.navBar nav ul {
list-style: none;
margin: 0 auto;
}
.navBar nav ul li {
float: left;
display: inline;
}
.navBar nav a:link, .mainBar nav a:visited {
color: #FFF;
display: inline-block;
padding: 10px 25px;
height: 40px;
}
.navBar nav a:hover, .mainBar nav a:active {
background-color: #CF5C3F;
text-shadow: none;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.mainBar nav ul li a {
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.abSec{
line-height: 25px;
font-style:
}
footer {
border-top: 1px solid #E0E0E0;
padding: 1em;
width: 100%;
}
footer li {
display: inline-block;
margin: 0 1em;
}
footer a {
text-decoration: none;
color: #333;
padding: 1.5em;
}