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

47번째 줄: 47번째 줄:
==같이 보기==
==같이 보기==
* [[부트스트랩 폼]]
* [[부트스트랩 폼]]
* [[로그인]]


[[분류: Bootstrap]]
[[분류: Bootstrap]]

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

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 {
    padding: 60px 0;
  }
  
  .input-login,
  .checkbox_remember,
  .login-button {
    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 role="form">
          <div class="input-login">
            <input type="text" class="form-control" name="username" placeholder="Username" autofocus>
          </div>
          <div class="input-login">
            <input type="password" class="form-control" name="password" placeholder="Password">
          </div>
          <div class="input-login">
            <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 }}