JSFiddle - React, Tailwind, and code Playground

by Brodingo

HTML

<div class="bar even"></div>
<div class="bar wide"></div>
<div class="bar tall"></div>    
<div class="bar biggun"></div>    
<div class="bar tallun"></div>

CSS

body {
    background-color: steelblue;
}

.bar {
    position: relative;
    height: 100px;
    margin: 0 0 50px;
    border-radius: 50% / 3em;
    background-color: #fff;
}

.even {
    width: 100px;
}

.wide {
    width: 200px;
}

.tall {
    width: 100px;
    height: 200px;
}

.biggun {
    width: 300px;
    height: 100px;
    -webkit-animation: wider 5s infinite;
}

.tallun {
    width: 100px;
    height: 300px;
    -webkit-animation: taller 5s infinite;
}

@-webkit-keyframes wider {
    50% {
        width: 400px;
    }
}

@-webkit-keyframes taller {
    50% {
        height: 400px;
    }
}