Basic use
.card:hover {
will-change: transform;
}
The will-change property hints that an element will change specific properties soon. Browsers can promote layers early. Overuse wastes memory, so apply it only for known animations.
.card:hover {
will-change: transform;
}.card:hover {
will-change: transform;
}will-change is a CSS property.
Check support for your audience.
Bottom line: Prefer progressive enhancement when support varies.
Continue with zoom.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
4 people found this page helpful