Is there any jQuery solution that to find exact display height of the -webkit-transform: scale(0.7851);
the scale
value may vary that is why looking for proper solution
Tested these options unfortunately didn't find solution yet :(
height()
innerHeight()
outerHeight()
outerHeight(true)
I think this issue only can fix one the basis of mathematics ;)
The CSS height and width property are used to specify the height and width of an element respectively. We can also set the maximum and minimum values for these properties using the max-height, max-width, min-height, and min-width properties.
The scale() CSS function defines a transformation that resizes an element on the 2D plane. Because the amount of scaling is defined by a vector, it can resize the horizontal and vertical dimensions at different scales. Its result is a <transform-function> data type.
The scale() method increases or decreases the size of an element.
Use getBoundingClientRect()
.
element.getBoundingClientRect().height
See DEMO.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With