GitHub 博客园 Nanakon

☀【负边距】

1

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title></title>
    <style>
        .item {
            padding-left: 110px;
        }
        label {
            display: inline-block;
            text-align: right;
            width: 100px;
            margin-left: -110px;
            padding-right: 10px;
        }
    </style>
</head>
<body>
    <div class="item">
        <label>username</label><input type="text">
    </div>
    <div class="item">
        <button>submit</button>
    </div>
</body>
</html>

 

posted on 2013-10-08 09:14  jzm17173  阅读(92)  评论(0编辑  收藏  举报

导航

轻音