JSFiddle - React, Tailwind, and code Playground

by Kitson Broadhurst

HTML

<section class="se-container">
    <div class="se-slope">
        <article class="se-content">
            	<h3>Are you ready?</h3>

            <p>The path of the righteous man is beset on all sides by the iniquities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy My brothers. And you will know My name is the Lord when I lay My vengeance upon thee.</p>
        </article>
    </div>
    <div class="se-slope">
        <article class="se-content">
            	<h3>Oh... what I'm gon' do?</h3>

            <p>Yeah, I like animals better than people sometimes... Especially dogs. Dogs are the best. Every time you come home, they act like they haven't seen you in a year. And the good thing about dogs... is they got different dogs for different people. Like pit bulls. The dog of dogs. Pit bull can be the right man's best friend... or the wrong man's worst enemy. You going to give me a dog for a pet, give me a pit bull. Give me... Raoul. Right, Omar? Give me Raoul.</p>
        </article>
    </div>
    <div class="se-slope">
        <article class="se-content">
            	<h3>We happy?</h3>

            <p>Now that there is the Tec-9, a crappy spray gun from South Miami. This gun is advertised as the most popular gun in American crime. Do you believe that shit? It actually says that in the little book that comes with it: the most popular gun in American crime. Like they're actually proud of that shit.</p>
        </article>
    </div>
    <div class="se-slope">
        <article class="se-content">
            	<h3>No man, I don't eat pork</h3>

            <p>Look, just because I don't be givin' no man a foot massage don't make it right for Marsellus to throw Antwone into a glass...

CSS

.se-container {
    display: block;
    width: 100%;
    overflow: hidden;
    padding-top: 150px;
}
.se-slope {
    margin: 0 -50px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
}
.se-slope:nth-child(odd) {
    background: #000;
    -webkit-transform: rotate(5deg);
    -moz-transform: rotate(5deg);
    -o-transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    transform: rotate(5deg);
    margin-top: -200px;
    box-shadow: 0px -1px 3px rgba(0, 0, 0, 0.4);
}
.se-slope:nth-child(even) {
    background: #e90089;
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    transform: rotate(-5deg);
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4) inset;
}
.se-content {
    margin: 0 auto;
}
.se-content h3 {
    font-size: 60px;
    position: relative;
    display: inline-block;
    padding: 10px 30px 8px 30px;
    height: 80px;
    background: #000;
    line-height: 80px;
    margin: 0 auto;
    margin-bottom: 20px;
    font-family:'Bitter', 'Trebuchet MS', Arial;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}
.se-content h3:before {
    content:'';
    width: 0;
    height: 0;
    border-top: 38px solid transparent;
    border-bottom: 60px solid transparent;
    border-right: 60px solid black;
    position: absolute;
    left: -59px;
    top: 0px;
}
.se-content h3:after {
    content:'';
    width: 0;
    height: 0;
    border-top: 38px solid transparent;
    border-bottom: 60px solid transparent;
    border-left: 60px solid black;
    position: absolute;
    right: -59px;
    top: 0px;
}
.se-slope:nth-child(odd) .se-content h3:before, .se-slope:nth-child(odd) .se-content h3:after {
    border-right-color: #e90089;
    border-left-color: #e90089;
}
.se-content p {
    width: 75%;
    max-width: 500px;
    margin: 0 auto;
   ...