.block { position: relative; width: 240px; height: 240px; background: #fff; border-radius: 16rpx; } .close-btn { position: absolute; left: 50%; margin-left: -32rpx; bottom: calc(-1 * (48rpx + 64rpx)); } .wrapper { margin: 32rpx; display: block; }