0
안녕하세요 저는 배경 그림을 컨테이너보다 더 넓게 만드는 문제를 해결할 수 없습니다.배경 이미지 부트 스트랩 전체 화면 없음
이미지로 설정을 변경하면 입력 양식의 세로 가운데 정렬이 손실됩니다. 어떻게해야
.container-table {
display: table;
height: calc(100vh - (45px + 35px));
background: url("http://dummyimage.com/600x400/000/fff") no-repeat;
background-size: cover;
background-position: center;
}
.vertical-center-row {
display: table-cell;
vertical-align: middle;
}
.submitbutton {
border-radius: 0;
transform: scaleX(-1);
background-color: #0c8484;
}
.form-control {
border-radius: 0;
font-size: 40px;
}
.fa-search {
color: #e1f0f0;
}
<div class="container container-table">
<div class="row vertical-center-row ">
<div class="col-lg-offset-2 col-lg-8">
<div class="logo">
<p class="logoname">LOGO</p>
</div>
<div class="input-group">
<input type="text" class="form-control input-lg">
<span class="input-group-btn">
<button class="btn btn-lg submitbutton" type="button">
<i class="fa fa-search"></i>
</button>
</span>
</div>
</div>
</div>
</div>
폭 정의 : 컨테이너 테이블에 100 %를 –
http://codepen.io/nagasai/pen/qNrZEy –
당신이 만들려고 노력하고 있습니다 배경 이미지는 스크린 샷과 비슷합니까? –