Bootstrap modal-header Logon to change bottom line color

I am using the Bootstrap registration template and I want to change the bottom color of the line model-headerand align that line to the left and right border.

<div id="login-ar" class="container" aria-hidden="true">
    <div class="modal-header">
        <h1 class="text-center" id="login-tit">Login</h1>
    </div>
    <div class="modal-body">
        <form role="form">
            <div class="form-group">
                <input type="email" class="form-control" id="email" placeholder="Enter email">
            </div>
            <div class="form-group">
                <input type="password" class="form-control" id="pwd" placeholder="Enter password">
            </div>
            <div class="checkbox">
                <label><input type="checkbox"> Remember me</label>
            </div>
        </form>
    </div>
    <div class="modal-footer">
         <button class="btn btn-link">Forgot password?</button>
         <button class="btn btnExtra btn-large btn-primary">Login</button>
    </div>
</div>

enter image description here

+4
source share
1 answer

ninjaxelite, modal-footer modal-header border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; .
, Bootstrap css.
. , , , .
, .
, , <hr class="yourcolor"> .
, .

Bootstrap, css.

 .modal-header {
  min-height: 16.42857143px;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  }

.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

modal-header border-bottom, ...
aqua, .

.modal-header {
  min-height: 16.42857143px;
  padding: 15px;
  border-bottom: 3px solid #ff0000;
  margin-left: 15px;
  margin-right: 15px;  
  background-color: aqua;
}

... modal

+10

All Articles