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

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 6개는 보이지 않습니다)
3번째 줄: 3번째 줄:
;부트스트랩 로그인 폼
;부트스트랩 로그인 폼


<source lang='html'>
<syntaxhighlight lang='html'>
<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="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css" rel="stylesheet">
<style>
<style>
  body {
    body {
    padding: 60px 0;
        background: #f8f8f8;
  }
        padding: 60px 0;
 
    }
  #login-form > div {
   
    margin: 15px 0;
    #login-form > div {
  }
        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>
</syntaxhighlight>
<jsfiddle height='450'>6othbt4m</jsfiddle>
<jsfiddle height='450'>6othbt4m</jsfiddle>


48번째 줄: 49번째 줄:


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

2020년 11월 2일 (월) 02:52 기준 최신판

1 개요[ | ]

Bootstrap Login Form
부트스트랩 로그인 폼
<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>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css" rel="stylesheet">
<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 }}