JSFiddle - React, Tailwind, and code Playground

by roXon

HTML

<div class="grid">
    <div class="block block_a">
        <div class="content"></div>
    </div>
    <div class="block block_a"></div>
    <div class="button"> button </div>   
</div>

CSS

.button, .block_a, .block_b, .grid, .content{
    border:3px solid;
    margin:2px;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px; 
}

.grid{
    width:360px;
    height:380px;
}
.block{
    height:370px;
    width:170px;
    position:relative;
    float:left;
    border-color:#ccc;
}
.content{
width:160px;
    height:360px;
    border-color: orange;
}
.button{
    position:absolute;
width: 190px;
    height:40px;
    border-color:red;
    text-align:center;
    line-height:34px;
    font-size:30px;
    top:28%;
    left:110px;
}

JavaScript

var btn = $('.button');
btn.css('-webkit-transform','rotate(90deg)');
btn.css('-moz-transform','rotate(90deg)');
btn.css('transform','rotate(90deg)');