CSS 3 - transition prefixes - which ones to use?

后端 未结 6 1084
一个人的身影
一个人的身影 2020-12-29 07:09

I have a question regarding the CSS vendor prefixes for transition.

This source states that \"you need to use all the usual prefixes to make this work in all browser

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-29 07:54

    Do yourself a favor and download Prefix Free. It's a minuscule JavaScript which lets you user pretty much any prefix-requiring property, without a prefix (including transitions, animations, and media queries).

    EDIT: The only exception to all of this is media queries for Opera, where the pixel ratio (and nothing else) has to be expressed as a fraction rather than decimal.

提交回复
热议问题