Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$.height return different value from $.css('height') #1351

Open
WangXiZhu opened this issue Jan 22, 2019 · 0 comments
Open

$.height return different value from $.css('height') #1351

WangXiZhu opened this issue Jan 22, 2019 · 0 comments

Comments

@WangXiZhu
Copy link

WangXiZhu commented Jan 22, 2019

I use rem and set the element code's border as 0.02666666666666667rem solid #D9DADC,so the element's real height is 45.5px,and $.css('height') is correct, but $.height() is not

image

@WangXiZhu WangXiZhu changed the title $.height $.height return different value from $.css('height') Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant