Why transition-duration along with transform scale could not be set via js/css? (But could be set via DevTools)

The problem is setting transition-duration along with transform: scale() results in transformation with zero duration (although style shows up in DevTools as expected) if being set through css, js or html style. But results correctly if being set manually through browser DevTools (changing aforesaid showed-up style in DevTools).

The MRE is just:

    <div style="transform: scale(~times~); transition-duration: ~time~">
        holo
    </div>

Working through Django latest version.

In the meantime, opacity trasition-duration works as expected, so the trouble is about scaling.

Checked the issue in firefox, edge and chrome

Вернуться на верх