Does this answer your question? [Get div height with plain JavaScript](https://stackoverflow.com/questions/15615552/get-div-height-with-plain-javascript)
– jmargolisvtJan 21 '20 at 03:19
This might be what you're looking for: https://stackoverflow.com/questions/324486/how-do-you-read-css-rule-values-with-javascript
– jmargolisvtJan 21 '20 at 03:26
Does this answer your question? [How do you read CSS rule values with JavaScript?](https://stackoverflow.com/questions/324486/how-do-you-read-css-rule-values-with-javascript)
– Akhil AravindJan 21 '20 at 06:28