• input text 字体的影响


    字体对input的影响

    <html>
    <head>
    <meta charset="UTF-8">
    </head>
    <style type="text/css">
    input{
        background: #EAEEF1;
        border: 2px solid #EAEEF1;
        color: #666666;
        font-family: 'Open Sans', sans-serif;
    }
    </style>
        <body>
            <input type="text"/>
        </body>
    </html>

    效果:

    <html>
    <head>
    <meta charset="UTF-8">
    </head>
    <style type="text/css">
    input{
        background: #EAEEF1;
        border: 2px solid #EAEEF1;
        color: #666666;
        font-family: "华文行楷";
    
    }
    </style>
        <body>
            <input type="text"/>
        </body>
    </html>

    效果:

    一个看起来还行的input输入框

    <html>
    <head>
    <meta charset="UTF-8">
    </head>
    <style type="text/css">
    input{
        background: #EAEEF1;
        border: 2px solid #EAEEF1;
        color: #666666;
        font-size: 1.1em;
        font-family: 'Open Sans', sans-serif;
    
    }
    input:hover {
        background: #fff;
        border: 2px solid #609EC3;
        outline: none;
    }
    </style>
        <body>
            <input type="text"/>
        </body>
    </html>
  • 相关阅读:
    robotframework----模板的使用
    RF执行顺序
    RobotFrameWork(四)变量运算与Evaluate
    RobotFrameWork(三)数据类型
    git 命令
    常用网站
    git 应用
    ie if判断
    移动端rem适配
    绘制三角形(sass)
  • 原文地址:https://www.cnblogs.com/ghgyj/p/4039289.html
Copyright © 2020-2023  润新知