For the animation CSS code above, I'm wondering whether there's any way to pass the values of borderColor and width as parameter from TypeScript.
CSS Code
.app-ring div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid gray;
border-radius: 50%;
animation: app-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: red transparent transparent transparent;
}
Html Code
<div class="app-iconDiv">
</div>