Does HTML5 DOCTYPE affect how CSS3 effects are rendered?

后端 未结 4 2117
花落未央
花落未央 2020-12-07 01:58

Is there any difference how the css3 effects (for example animation) are rendered if the doctype is defined as

(html5)

or

4条回答
  •  旧巷少年郎
    2020-12-07 02:30

    Yes it does, and I can tell you that from personal experience.

    HTML pages which consist of sliced tables that have no cellpadding and cellspacing, fail to work with a HTML5 doctype. I had to use HTML4 transitional.

    HTML pages that use grid layout systems can sometimes work better with a HTML5 doctype. I find that the Tiny Fluid Grid does not work with a HTML4 transitional doctype.

提交回复
热议问题