JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://raw.github.com/kamicane/moofx/master/moofx.js"></script>
<div id="box"></div>

CSS

#box {
    background: #ccc;
    height: 100px;
    width: 100px;
    border: solid 5px #666;
    border-radius: 90px;
}

body {
    margin: 40px;
}

JavaScript

moofx(document.getElements('#box')).animate({
    'transform': 'scale(0.7)',
    'border-radius': '20px'
}, {
    duration: '3s'
});