JSFiddle - React, Tailwind, and code Playground
HTML
<div class="animate" style="-webkit-animation: grind 3s steps(1, end) infinite; animation: grind 3s steps(1, end) infinite; -moz-animation: grind 3s steps(1, end) infinite; -ms-animation: grind 3s steps(1, end) infinite;"></div>
<h3>Properties of animation rule should be displayed below</h3>
<div class="dev"></div>
JavaScript
var properties = $('.animate').css('animation');
$('.dev').html(properties);