1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        Morf.jsCSS3 轉(zhuǎn)換函數(shù)定義

        聯(lián)合創(chuàng)作 · 2023-09-22 14:55

        Morf.js 提供了一組 JavaScript 方法用于加速 CSS3 的各種轉(zhuǎn)換效果,支持的方法都在上圖中,無需編寫 CSS3 代碼。

        示例代碼:

        // Get a reference to the element
        var elem = document.getElementById('elem');
        
        var trans = Morf.transition(elem, {
                // New CSS state
                '-webkit-transform': 'translate3d(300px, 0, 0) rotate(90deg)',
                'background-color': '#FF0000'
            }, {
                duration: '1500ms',
                timingFunction: 'bounce',
                callback: function (elem) {
                    // You can optionally add a callback option for when the animation completes.
                }
            });
        瀏覽 16
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        評(píng)論
        圖片
        表情
        推薦
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            欧美精品导航 | 8090操逼网 | 精品一级毛片 | 午夜神马福利 | 在线激情网站 | 一级全黄60分钟免费网站 | 国产丝袜视频一区二区三区 | 一级免费黄色电影 | 男女成人 免费视频在线观看 | 插插插免费视频 |