float.wxss 376 B

12345678910111213141516
  1. .float-home {
  2. position: fixed;
  3. right: 30rpx;
  4. bottom: 200rpx;
  5. width: 100rpx;
  6. height: 100rpx;
  7. display: flex;
  8. flex-direction: column;
  9. justify-content: center; /* 垂直居中 */
  10. align-items: center; /* 水平居中 */
  11. border-radius: 12rpx;
  12. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.3);
  13. background-color: #ffffff;
  14. font-size: 28rpx;
  15. z-index: 999;
  16. }