开发者

choosing axis to flip a div using css

开发者_JAVA百科

When setting -webkit-transform: rotateY(180deg) it always rotates with the axis being at the center of the div. Is there a way to set it so that it flips from the far left or right edge of the div e.g. like how a door swings?


Use https://developer.mozilla.org/En/CSS/-moz-transform-origin

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜