👩💻 Join our community of thousands of amazing developers!
CSS 动画,color 属性能够生效,transform 属性却没能生效。最后在样式中设置了display:inline-block就搞定了CSS Transforms Module Level 1原文transformable elementA transformable element is an element in one of these categories:an element whose layout is governed by the CSS box model which is either a block-level or atomic inline-level element,or whose display property computes to table-row, table-row-group, table-header-group, table-footer-group, table-cell, or table-caption [CSS21]an element in the SVG namespace and not governed by ...