账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    less莫名的语法报错?
    45
    0
    less莫名的语法报错,不知是何原因?// 居中.center(@width:null,@height:null) { position: absolute; top: 50%; left: 50%; & when (@width = null) and (@height= null){ transform: translate(-50%, -50%); } & when not (@width = null) and (@height = null){ width: @width; margin-left: -(@width / 2); transform: translateY(-50%); } & when (@width = null) and not(@height=null){ height: @height; margin-top: -(@height / 2); transform: translateX(-50%); } & when not(@width = null) and not(@height = null){ width: @width; height: @height; margin: -(@height / 2) 0 0 -(@width / 2); }}
    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部