JSFiddle - React, Tailwind, and code Playground

HTML

<img src="https://www.google.com/intl/en/chrome/assets/common/images/chrome_logo_2x.png" id="chrome" width="123" height="40" />

JavaScript

var radius = 0;

var interval = window.setInterval(function() {
    $("#chrome").css("-webkit-mask", "-webkit-gradient(radial, 17 17, " + radius + ", 17 17, " + (radius + 15) + ", from(rgb(0, 0, 0)), color-stop(0.5, rgba(0, 0, 0, 0.2)), to(rgb(0, 0, 0)))");
    radius++;
    if (radius === 124) {
        window.clearInterval(interval);
    }
}, 20);