I want to get a property of css in js to add its value.
In the following code I have a div called bubble, and what I want is to increase its value in scale (0.1) each time the function is executed and the only way I can think of is to obtain the value of the scale () attribute and add the 0.1
I think there are other solutions but I can not think of it
function bubblestart(){
document.getElementById("bubble").style.transform = "scale(1.5)";
}
<div class="button" onclick="bubblestart()">Start</div>
<div id="bubble"></div>