Is there a way to dynamically adjust the width and height of this div element after it is clicked, essentially treating it like a button?
The current HTML structure is as follows:
<div class="sq" onclick="main.function();">
...
</div>
Below is the CSS styling for the 'sq' class:
.sq {
width: 102.5px;
height: 2px;
}