收藏
回答

写css 使用transform: rotateZ(45deg) 安卓变形?

这个x 我从开发者工具上看没问题,ios真机上也没问题

安卓不行

.test {
    width86rpx;
    height86rpx;
    position: relative;
    bottom: -123rpx;
    left: calc(50% - 43rpx);
    background#000000;
    border-radius50%;
  }
.test::before {
    content'';
    position: absolute;
    top: calc(50% - 2rpx);
    left: calc(50% - 14rpx);
    width28rpx;;
    height4rpx;
    background#FFFFFF;
    transform: rotateZ(45deg);
    transform-origin: center center;
   }
 .test::after {
    content'';
    position: absolute;
    left: calc(50% - 2rpx);
    top: calc(50% - 14rpx);
    width4rpx;
    height28rpx;
    background#FFFFFF;
    transform: rotateZ(45deg);
    transform-origin: center center;
  }
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容