JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<!-- Navigation div -->
<div id="hero-block" class="picture-bg" style="height: 955px;">
<div id="navbar">
<nav id="navbar-container">
<img class="navbar-brand" src="assets/MR_logo_white.svg" alt="Logo Image" >
<div class="collapse">
<ul class="nav">
<li>
About
</li>
<li>
Work
</li>
<li>
Contact
</li>
</ul>
</div>
</nav>
</div>
<div class="v-center">
<div class="vc-content">
<h1>Hi, I'm a Unicorn</h1>
<h3>Branding, UI & Web Designer</h3>
<br/><br/><br/><br/><a href="#Work">Check My Work Out</a>
</div>
</div>
</div>
<!-- Intro div -->
<!-- About div -->
<div class="aboutContainer">
<h3> About me</h3>
<p>My name is Marco Rodrigues and I'm a 25 year-old designer with a love of web design, UX and UI Design. I have a passion for front-end web development and have experience coding HTML, CSS and Javacript. I have a vast amount of knowledge on many things, Some would even say I know too much. I love using everything I learn to design and build some great stuff. Feel free to look around, you might just like something you see.</p>
</div>
<!-- Portfolio div -->
<div class="workContainer">
<h3> Work</h3>
<div class="workContent clearfix">
<div class="item">
<img src="http://placehold.it/350x150">
</div>
<div class="item">
<img src="http://placehold.it/350x150">
</div>
<div class="item">
<img src="http://placehold.it/350x150">
</div>
<div class="item clear">
<img src="http://placehold.it/350x150">
</div>
<div class="item">
<img src="http://placehold.it/350x150">
</div>
<div class="item">
<img src="http://placehold.it/350x150">
</div>
</div>
</div>
<!-- Contact div -->
<div class="contactContainer">
<h3>Contact Me</h3>
<p>If you'd like to get in touch with me about future projects, or...
CSS
/* ---- Global Styles ---- */
* {
webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.clearfix:after {
content: " "; /* Older browser do not support empty content */
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.clear {
clear: left;
}
/* ---- Hero Styles ---- */
#hero-block {
width: 100%;
max-width: 100%;
height: 955px;
background-color: rgb(44, 62, 80);
top: 0;
}
/* ---- Nav Styles ---- */
#navbar {
position: absolute;
max-width: 1000px;
padding: 20px 50px;
margin: 0 auto;
left: 0;
right: 0;
}
#navbar-container {
max-width: 100%;
}
.navbar-brand {
width: 50px;
margin: 0px 10px;
}
.nav li {
color: rgb(255, 255, 255);
list-style-type: none;
display: inline-block;
margin-right: 10px;
font-family: 'Maven Pro', sans-serif;
font-weight: 400;
font-size: 1.125rem;
}
.collapse {
float: right;
}
/* ---- Nav Styles ---- */
.v-center {
width: 100%;
height: 100%;
display: table;
text-align: center;
}
.v-center .vc-content {
display: table-cell;
vertical-align: middle;
text-align: center;
width: 100%;
height: 100%;
}
.vc-content h1{
font-family: 'Maven Pro', sans-serif;
font-weight: 700;
font-size: 3.75rem;
color: rgb(255, 255, 255);
margin-bottom: 10px;
}
.vc-content h3{
font-family: 'Maven Pro', sans-serif;
font-weight: 400;
font-size: 1.5rem;
color: rgb(255, 255, 255);
margin-top: 0px;
}
.vc-content a{
font-family: 'Maven Pro', sans-serif;
font-weight: 400;
font-size: 1.125rem;
color: rgb(255, 255, 255);
text-decoration: none;
border: 2px solid #ffffff;
border-radius: 5px;
padding: 15px 20px;
}
/* ---- About Section Styles ---- */
.aboutContainer {
width: 100%;
background-color: rgb(236, 240, 241);
padding: 5% 0;
}
.aboutContainer h3 {
max-width: 80%;
text-align: center;
margin: 0 auto;
margin-bottom: 20px;
font-family: 'Maven Pro', sans-serif;
font-weight: 700;
font-size: 1.75rem;
}
.aboutContainer p...