<section class="contents"> 끝 선에 정렬이 됐는지 살펴보는 테스트 구문 <div class="row"> <div class="col-2" style="background-color: #ffdbdb"> 애플은 스티브 잡스와 스티브 워즈니악과 론 웨인이 1976년에 설립한 컴퓨터 회사이다. 이전 명칭은 애플 컴퓨터였다. </div> <div class="col-2" style="background-color: #59b1f6"> 애플은 스티브 잡스와 스티브 워즈니악과 론 웨인이 1976년에 설립한 컴퓨터 회사이다. 이전 명칭은 애플 컴퓨터였다. </div> </div> </section>
.row { margin-left: -10px; margin-right: -10px; } .col-2 { float: left; width: 50%; padding-left: 10px; padding-right: 10px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }