Nate Weiner
Nate Weiner

Reputation: 815

How to prevent element from being blended/hardware accelerated

In CSS, you can force an element to always be hardware accelerated by applying a property like:

-webkit-translate: translate3d(0,0,0);

Is it possible to do the opposite? Apply a property that will make sure that item is never blended?

Upvotes: 2

Views: 304

Answers (1)

Khallil Mangalji
Khallil Mangalji

Reputation: 481

I don't know if there is a way to prevent it. But instead of using a translate3d, you could just do a plain translate which would not be hardware accelerated.

transform: translate(10px,10px)

Upvotes: 1

Related Questions