An element's clientHeight is a measurement that includes the element CSS height and the element vertical padding and, if rendered, subtracting the height of the horizontal scrollbar.
(元素的clientHeight是一个度量,其中包括元素CSS高度和元素垂直填充,如果呈现,则减去水平滚动条的高度。)
try background.clientHeight
(试试background.clientHeight
)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…