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

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

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    移动前端设置border为1px显得粗
    32
    0

    我找到过方法,但是不知道怎么用,代码如下:
    %border-1px{

    display: block;
    position:absolute;
    left: 0;
    width: 100%;
    content: ' ';

    }
    .border-1px{

    position: relative;
    &::after{
        @extend %border-1px;
        bottom: 0;
        border-top: 1px solid #ccc; 
    }
    &::before{
        @extend %border-1px;
        top: 0;
        border-bottom: 1px solid #ccc;
    }

    }

    @media (-webkit-min-device-pixel-ratio:1.5),(min-device-pixel-ratio:1.5){

    .border-1px{
        &::after{
            -webkit-transform: scaleY(0.7);
            transform: scaleY(0.7);
        }
    }

    }

    @media (-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2){

    .border-1px{
        &::after{
            -webkit-transform: scaleY(0.5);
            transform: scaleY(0.5);
        }
    }

    }

    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    • 遥不可及 普通会员 1楼
      502 Bad Gateway

      502 Bad Gateway


      nginx
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部