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

[css] 第118天 说说你对GPU的理解,举例说明哪些元素能触发GPU硬件加速? #1054

Open
haizhilin2013 opened this issue Aug 11, 2019 · 2 comments
Labels
css css

Comments

@haizhilin2013
Copy link
Collaborator

第118天 说说你对GPU的理解,举例说明哪些元素能触发GPU硬件加速?

@haizhilin2013 haizhilin2013 added the css css label Aug 11, 2019
@nowherebutup
Copy link

  • GPU: 图形处理器,用于处理图形有关的任务,用于渲染页面
  • 在css中使用 transform: translateZ(0),可以开启GPU硬件加速

@PointerToNextPole
Copy link

除了使用 transform: translateZ(0); 之外,也可以使用 will-change: translate;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css css
Projects
None yet
Development

No branches or pull requests

3 participants