Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

乐淘表单布局 #146

Open
zhengwei1949 opened this issue Nov 21, 2018 · 0 comments
Open

乐淘表单布局 #146

zhengwei1949 opened this issue Nov 21, 2018 · 0 comments

Comments

@zhengwei1949
Copy link
Owner

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    *{
        box-sizing: border-box;
    }
    .search{
        width: 92%;
        position: relative;
        margin:0 auto;
    }
    .search input[type="text"]{
        outline: none;
        width:100%;
        height: 30px;
        padding: 4px;
        border: 1px solid #069;
    }
    .search input[type="button"]{
        width: 80px;
        height: 30px;
        background: #069;
        border:none;
        color: #fff;
        right:0;
        top:0;
        position:absolute;
        font-size:14px;
    }
    </style>
</head>
<body>
    <div class="search">
        <input type="text"  placeholder="aaa">
        <input type="button" value="搜索">
    </div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant