안녕하세요 미디어 스크린의 같은 줄에 두 개의 단추를 수평으로 정렬하고 싶습니다. 제발 CSS 도와주세요. 다음은 내가 시도하는 코드입니다.html 단추에 대한 미디어 쿼리
<div class="ctext-wrap">
<button type="button" class="btn offert-btn btn-next">Mer information<br></button>
<button type="button" class="btn btn-previous offert-btn">Föregående<br></button>
</div>
.ctext-wrap {
max-width: 100%;
}
.ctext-wrap {
max-width: 50%;
margin: 0px auto;
text-align: left;
}
.btn-next {
float: right;
min-width: 130px;
}
.offert-btn {
display: inline-block;
background: #213156 !important;
color: #fff !important;
font-weight: bold !important;
text-decoration: none !important;
margin-bottom: 20px !important;
border-radius: 0 !important;
}
@media screen and (max-width: 768px)
.ctext-wrap {
max-width: 100%;
}
어떤 화면 크기는 같은 줄에있는 버튼을 줄까? –
화면 크기 : 768px –