JSFiddle - React, Tailwind, and code Playground

by nikolya223

HTML

<div class="wrapper">
    <div class="col-l">
        <div>don't worry be happy</div>
        <div>don't worry be happy</div>
        <div>don't worry be happy</div>
        <div>don't worry be happy</div>
        <div>don't worry be happy</div>
        <div>don't worry be happy</div>
        <div>don't worry be happy</div>
        <div>don't worry be happy</div>
        <div>don't worry be happy</div>
        <div>don't worry be happy</div>
    </div>
    <div class="col-r"> <div>don't worry be happy</div></div>
    <div class="col-c">
         <div>don't worry be happy</div>
         <div>don't worry be happy</div>
         <div>don't worry be happy</div>
         <div>don't worry be happy</div>
         <div>don't worry be happy</div>
         <div>don't worry be happy</div></div>
</div>

CSS

.wrapper {
	outline: 1px solid #C00;
	margin: 0 auto;
    padding: 5px;
    display: table;
    width: 960px;
    margin 0 auto;
    text-align: center;
}
.col-r,.col-l,.col-c{
    display: table-cell;;
}
.col-l {

    margin: 0 5px 0 0px;
    padding: 5px;
    background: pink;
    border: 2px solid red;
    color: red;
}

.col-r {
    width: 486px;
    margin: 0 0 0 5px;
    padding: 5px;
    background: lightgreen;
    border: 2px solid green;
    color: green;
}

.col-c {
    padding: 5px;
    background: silver;
    border: 2px solid grey;
    color: grey;
    width: 200px;
}