zoukankan      html  css  js  c++  java
  • 简单form表单样式

    简单form表单样式

    01) 输入框 input

    <style type="text/css">
      .input-wrapper{
        width: 20%;
        border: 2px solid #ff6b81;
      }
      input{
        outline: none;
        color: #90ee90;
        border: 0;
        width: 100%;
        height: 40px;
        line-height: 40px;
        background-color: transparent;
      }
    </style>
    <div>
      <div class="input-wrapper">
        <input type="text" value="daFei" />
      </div>
    </div>
    <style type="text/css">
      .input-wrapper{
        width: 20%;
      }
      input{
        outline: none;
        box-shadow: none;
        display: inline-block;
        border: 2px solid #ff6b81;
        background-color: transparent;
        width: 100%;
        height: 40px;
        line-height: 40px;
        padding: 0 15px;
        color: #90ee90;
      }
    </style>
    <div>
      <div class="input-wrapper">
        <input type="text" value="daFei_foo" />
      </div>
    </div>
    View Code

     

  • 相关阅读:
    CPP STL学习笔记
    CPP 设计模式学习
    blackarch 安装指南
    通过 Http 请求获取 GitHub 文件内容
    实践
    升级
    部署-MySql 之Linux篇
    数据库
    RxJs
    Vue
  • 原文地址:https://www.cnblogs.com/dafei4/p/15592624.html
Copyright © 2011-2022 走看看