We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
第549天 在什么情况下,用translate()而不用绝对定位?反之呢?请说明理由
3+1官网
我也要出题
The text was updated successfully, but these errors were encountered:
translate设置百分比值时,百分比是相对元素自身元素尺寸的值 绝对定位的top, left等的百分比值则是相对最近的position为relative\abolute\fixed祖先元素尺寸的值 所以 需要基于元素自身尺寸进行定位时,使用 translate, 需要基于某个祖先元素的尺寸进行定位时,使用 position:abolute
Sorry, something went wrong.
No branches or pull requests
第549天 在什么情况下,用translate()而不用绝对定位?反之呢?请说明理由
3+1官网
我也要出题
The text was updated successfully, but these errors were encountered: