Can someone help me figure out how to extract the border-width using ComputerStyle with the following command?
window.getComputedStyle(box).getPropertyValue("border")
Currently, it is returning:
"0.994318px solid rgb(255, 0, 0)"
Is there a way to change the argument "border" so that in the above case, it would output just
0.994318px