zoukankan      html  css  js  c++  java
  • CSS搜索框



    源码:

    <!DOCTYPE>
    <html>
        <head>
            <meta charset="utf-8">
            <style type="text/css">
                * {
                    margin: 0;
                    padding: 0;
                }
                header {
                    font-family: helvetica, arial, sans-serif;
                    display: block;
                    overflow: hidden;
                     500px;
                    margin: 30px;
                    border-radius: 6px;
                    background-color: #C0A4FA;
                }
                form.stylin_form_search {
                    float: right;
                     200px;
                    margin: 5px;
                    padding: 5px;
                }
                form.stylin_form_search input {
                    float: right;
                     70px;
                    padding: 4px;
                    outline: none;
                    font-size: .8em;
                    border-color: #eee #ccc #eee #ccc;
                    border-radius: 10px;
                    transition: 1s width;
                }
                form.stylin_form_search input:focus {
                     200px;
                }
                form.stylin_form_search label {
                    display: none;
                }
            </style>
        </head>
        <body>
            <header>
                <form class="stylin_form_search" action="#" method="post">
                    <label for="search">search</label>
                    <input type="search" id="search" name="search" placeholder="search">
                </form>
            </header>
        </body>
    </html>
    
  • 相关阅读:
    概率dp呜呜
    树上路径问题---点分治题集
    POJ 1741 Tree
    接下来的计划
    很逗 的网络赛历程
    Codeforces Round #264 (Div. 2) D
    似乎了解了树形dp/
    先胡乱搭一个blog
    POJ 1330 (LCA)
    文件操作
  • 原文地址:https://www.cnblogs.com/1328497946TS/p/12925353.html
Copyright © 2011-2022 走看看