g***@163.com
g***@163.com
  • 发布:2026-04-10 16:15
  • 更新:2026-04-13 08:52
  • 阅读:283

[已解决]css问题,在进行定位时,子元素绝对定位,image居右,left 如何计算

分类:uni-app x
        .user_login {  
        padding: 20px;  
        background-color: #ffffff;  
        min-height: 300rpx;  
        min-width: 300rpx;  

        .eye {  
            width: 40rpx;  
            height: 40rpx;  
            position: absolute;  
            left: 400rpx;  
            top: 35rpx;  
        }  

    }

如上代码, eye 的left如何设置?

2026-04-10 16:15 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com - 23

不用left,用right:0rpx

要回复问题请先登录注册