JSFiddle - React, Tailwind, and code Playground

by Harisankaran Parameswaran

HTML

<div>Some lengthy paragraph content which wraps around when it exceeds the width</div>
<div class='separator'></div>
<div>Some lengthy paragraph content which wraps around when it exceeds the width</div>

CSS

body{
    background: #333;
    font-family: Calibri;
    font-size: 18px;
}
div{
    height: 200px;
    width: 150px;
    display: inline-block;
    vertical-align: middle;
    color: white;
    padding-top: 40px;
}
.separator{
    background: #555;
    top: 40px;
    padding-top: 0px;
    margin: 0px 40px;    
    height: 100px;
    width: 100px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}