zoukankan      html  css  js  c++  java
  • 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>
  • 相关阅读:
    SQL优化
    Mybatis
    Spring MVC(总结二)
    ES多机集群配置
    ES索引,分片,一致性
    ElasticSearch关于索引库的命令操作
    试题01(一)
    Linux安装配置elastic search
    Windows安装配置elastic search
    SpringBoot(二)
  • 原文地址:https://www.cnblogs.com/ghgyj/p/4039289.html
Copyright © 2011-2022 走看看