웹/웹프로그래밍
html 한 구역에 양쪽으로 정렬하기 flex / space-between
은은하게미친자
2024. 5. 2. 14:33
728x90
<h3 class="title_section" style="display: flex; justify-content: space-between;">구획 이름
<div class="right">
<button type="button" onClick="cancelFeeSetAdd(this ,'2')" class="button blue bt-price-add " id="btncancelFeeSetAdd" >기준 추가</button>
</div>
</h3>
소스를 참고하시오.
이러면 왼쪽에 구획이름 제일 오른쪽에 기준추가 버튼이 생김!
728x90