JSFiddle - React, Tailwind, and code Playground
HTML
<p style="font-size=15px">Font test</p>
JavaScript
var ten = 10;
$("p").css('font-size', '+=' + ten);
<p style="font-size=15px">Font test</p>
var ten = 10;
$("p").css('font-size', '+=' + ten);