How to mix css3 transform properties without overriding (in realtime)?

前端 未结 6 1630
灰色年华
灰色年华 2020-12-11 00:26

Is there any way to combine (mix) css transform properties without overriding? For example there I want to rotate and scale. http://jsfiddle.net/hyzhak/bmyN3/

html<

6条回答
  •  天命终不由人
    2020-12-11 00:54

    Hmm...as far as I know, you would have to create new class and combine them this way (separated by a space):

    -webkit-transform: rotate(90deg) scale(0.25, 0.25);
    

提交回复
热议问题