JSFiddle - React, Tailwind, and code Playground

by Kolichikov

HTML

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="style.css">
        <title>Portfolio</title>
        <meta name="description" content="Showcasing my portfolio">
        <!-- Latest compiled and minified CSS (bootstrap) -->
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
    </head>
    <body>
        <nav>
            <div class="navLeft">
                <a href=".nameSection">NAME</a>
            </div>
            <div class="navRight">
                <a href="">PORTFOLIO</a>
                <a href="">ABOUT</a>
                <a href="">CONTACT</a>
                <a href="">CURRICULUM VITAE</a>
                <a href="">GITHUB PROFILE</a>
            </div>
        </nav>
        <div class="container">
            <div class="contentPane">
                <div class="nameSection">
                    <div class="row">
                        <div class="col-md-4 col-10 mx-auto">
                            <img src="" alt="NAME">
                            <h1>NAME</h1>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-4 col-10 mx-auto">
                            <div class="underline" class="col-12 mx-auto"></div>
                            <h4>Front End Developer</h4>
                        </div>
                    </div>
                </div>
                <div class="portfolioSection">
                    <div class="row">
                        <div class="col-4 mx-auto">
                            <h1>PORTFOLIO</h1>
                        </div>
                   ...

CSS

nav {
    position: fixed;
    top: 0px;
    z-index: 1;
    display: block;
    height: 50px;
    width: 100%;
    background-color: #A65900;
    padding-top: 10px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.68);
}

nav a {
    text-decoration: none;
    color: white;
    padding: 0 0.5em;
    display: inline;
}

nav .navLeft {
    font-size: 20px;
    display: inline;
    margin-left: 5rem;
}

nav .navRight {
    display: inline;
    margin-right: 5rem;
}

.contentPane {
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.68);
}

.nameSection {
    width: 100%;
    text-align: center;
    background-color: #FFA200;
}

.nameSection img {
    margin-top: 90px;
    max-height: 200px;
    width: 100%;
}

.underline {
    display: block;
    clear: both;
    height: 8px;
    background-color: white;
    border-radius: 5px;
    margin-bottom: 5px;
}

.nameSection h4 {
    margin-bottom: 40px;
}

.portfolioSection {
    text-align: center;
    background-color: #FFEF00;
}

.portfolioSection h1 {
    margin-top: 40px;
}

.screen {
    width: 100%;
    max-height: 200px;
}