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

9번째 줄: 9번째 줄:
<style>
<style>
   body {
   body {
  background: #f8f8f8;
     padding: 60px 0;
     padding: 60px 0;
   }
   }

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 }}