js how to get element csswidth code example
Example: js how to get element csswidth
document.getElementById("id").getBoundingClientRect().width
//or
document.getElementById("id").style.width
//document.getElementById("id").getBoundingClientRect() - will return all css properties of the emelemnt