zoukankan      html  css  js  c++  java
  • 如何制作透明的搜索框

    <!DOCTYPE html>
    <html>
    <head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
    form { 1000px ; height: 600px; background-image: url("22.jpg"); background-position: -100px -200px; }
    div { float: left; border: 1px solid black; background: lightgray; opacity: .5;}
    input[type="text"] { border: none; margin-left: 5px; background: lightgray; opacity: .5; }
    input[type="submit"] { border: none; background: none; background-image:url("fangdajing_07.png"); 30px; height:30px;
    background-repeat:no-repeat; background-position: 2px 2px; }
    input[value="登录"] { border:none; background: none; margin-top: 8px; margin-left: 10px; color: white;}
    input[value="注册"] { border:none; background: none; margin-top: 8px; color: white;}
    input[value="登录"]:hover { color: gray;}
    input[value="注册"]:hover { color: gray;}
    </style>
    </head>
    <body>
    <form action="">
    <div>
    <input type="text" placeholder="请输入您想知道的内容"/>
    <input type="submit" value="&nbsp;"/>
    </div>
    <input type="button" value="登录" />
    <input type="button" value="注册" />
    </form>
    </body>
    </html>
  • 相关阅读:
    Oracle 单引号与双引号的区别
    oracle 生成随机数
    oracle 表空间及查看所有用户的表空间
    字节和字符的区别
    java io
    Oracle 基础
    gvim 常用键
    Python之struct
    Python之MySQLdb
    Python之sqlite3
  • 原文地址:https://www.cnblogs.com/shengliang74/p/5426085.html
Copyright © 2011-2022 走看看