开发者

choosing axis to flip a div using css

开发者 https://www.devze.com 2023-03-25 10:05 出处:网络
开发者_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
开发者_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

精彩评论

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