"부트스트랩 로그인 폼"의 두 판 사이의 차이

8번째 줄: 8번째 줄:
<script src="//maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js"></script>
<style>
<style>
  body {
    body {
  background: #f8f8f8;
        background: #f8f8f8;
    padding: 60px 0;
        padding: 60px 0;
  }
    }
 
   
  #login-form > div {
    #login-form > div {
    margin: 15px 0;
        margin: 15px 0;
  }
    }


</style>
</style>


<div class="container">
<div class="container">
  <div class="col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
    <div class="col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
    <div class="panel panel-success">
        <div class="panel panel-success">
      <div class="panel-heading">
            <div class="panel-heading">
        <div class="panel-title">환영합니다!</div>
                <div class="panel-title">환영합니다!</div>
      </div>
            </div>
      <div class="panel-body">
            <div class="panel-body">
        <form id="login-form">
                <form id="login-form">
          <div>
                    <div>
            <input type="text" class="form-control" name="username" placeholder="Username" autofocus>
                        <input type="text" class="form-control" name="username" placeholder="Username" autofocus>
          </div>
                    </div>
          <div>
                    <div>
            <input type="password" class="form-control" name="password" placeholder="Password">
                        <input type="password" class="form-control" name="password" placeholder="Password">
          </div>
                    </div>
          <div>
                    <div>
            <button type="submit" class="form-control btn btn-primary">로그인</button>
                        <button type="submit" class="form-control btn btn-primary">로그인</button>
          </div>
                    </div>
        </form>
                </form>
      </div>
            </div>
        </div>
     </div>
     </div>
  </div>
</div>
</div>
</source>
</source>

2016년 7월 22일 (금) 11:41 판

1 개요

Bootstrap Login Form
부트스트랩 로그인 폼
<link href="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css" rel="stylesheet">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js"></script>
<style>
    body {
        background: #f8f8f8;
        padding: 60px 0;
    }
    
    #login-form > div {
        margin: 15px 0;
    }

</style>

<div class="container">
    <div class="col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
        <div class="panel panel-success">
            <div class="panel-heading">
                <div class="panel-title">환영합니다!</div>
            </div>
            <div class="panel-body">
                <form id="login-form">
                    <div>
                        <input type="text" class="form-control" name="username" placeholder="Username" autofocus>
                    </div>
                    <div>
                        <input type="password" class="form-control" name="password" placeholder="Password">
                    </div>
                    <div>
                        <button type="submit" class="form-control btn btn-primary">로그인</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}