Source Code Templates Beranda 01 - HTML & CSS

pada gambar diatas, menggunakan HTML dan CSS. berikut source code nya.
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML & CSS Beranda</title>
    <style>
        *{
            font-family: HK Grotesk Regular, serif;
            text-decoration: none;
            list-style-type: none;
            padding: 0;
            margin: 0;
            box-sizing: border-box;

        }
        header{
            justify-content: space-between;
            display: flex;
            align-items: center;
            padding: 0.8rem 8rem;
            border-bottom: 1px solid #efefef;
        }
        header ul{
            display: flex;
        }
        header ul li{
            margin-left: 1rem;
            margin-right: 1rem;
        }
        header ul li a{
            color: #333;
            font-size: 1.05rem;
        }
        header ul li a.active{
            color:#000;
            font-weight: bold;
        }
        header .action-btn{
            padding: .5rem 2rem;
            border: 1px solid lightgrey;
            border-radius: 10px;
            color: #333;
            cursor: pointer;
        }
        .hero{
            display: flex;
            height: 80vh;
            overflow: hidden;
        }
        .span-6{
            flex-basis: 50%;
        }
        .description{
            padding-left: 5rem;
            padding-top: 10rem;
        }
        .description h1{
            font-size: 3rem;
        }
        .description p{
            font-size: 1.1rem;
            line-height: 2rem;
            margin-top: 1.1rem;
            margin-bottom: 1.1rem;
        }
        .description button{
            padding: 0.8rem 2rem;
            font-size: 1.1rem;
            background: #fff;
            border: 1px solid lightgrey;
            border-radius: 10px;
            cursor: pointer;
        }
        .slanted{
            width: 100%;
            height: 100%;
            background: #eee;
            transform: skewX(-7deg);
            position: relative;
            overflow: hidden;
            margin-left: 50px;
        }
        .slanted-img{
            width: 100%;
            height: 100%;
            transform: skewX(7deg);
            background-image: url(img-learn.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            position: absolute;
            left: -50px;
        }
    </style>
</head>
<body>
    <header>
        <h3>UIKit</h3>
        <ul>
            <li><a href="" class="active">Home</a></li>
            <li><a href="">Contact</a></li>
            <li><a href="">Disclaimer</a></li>
            <li><a href="">Services</a></li>
        </ul>
        <a href="" class="action-btn">Buy</a>
    </header>
    <section class="hero">
        <div class="span-6 description">
           <div>
            <h1>Lorem, ipsum dolor sit amet consectetur adipisicing.</h1>
            <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Modi vel facilis perferendis animi ex eveniet, quae ut harum blanditiis illo, debitis iusto laboriosam omnis dicta?</p>
            <button>Learn More</button>
           </div>
        </div>

        <div class="span-6 image">
            <div class="slanted">
                <div class="slanted-img">

                </div>
            </div>
        </div>
    </section>
</body>
</html>