jquery ------ it determines whether the browser supports a css property (a solution to)

(function (temp) {
            if (temp.style["transition"] !== undefined) {
                return true;
            }
            return false
        })(document.createElement('div'))

Put it in the browser console, you can! ! !

Published 163 original articles · won praise 31 · views 40000 +

Guess you like

Origin blog.csdn.net/COCOLI_BK/article/details/103501410