Use offsetHeight to get the height of the element and find it is an integer ,
But in the console of Google Chrome, you can see that the height actually has decimals,
Due to the precise scrolling operation, it must be precise, please help.
曾经蜡笔没有小新2017-05-16 13:22:53
After looking at the source code of jq, I found that the height returned by getComputedStyle is accurate to decimals