最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

html - Why transition-duration for transform scale could not be set via jscss? (But could be set via DevTools) - Stack Overflow

programmeradmin3浏览0评论

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>

Rendering 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

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论