내용으로 건너뛰기 문서 내비게이션으로 건너뛰기
새로운 버전의 Bootstrap을 사용할 수 있습니다!
// Text truncation

줄임표를 사용하여 긴 텍스트의 문자열을 자릅니다.

콘텐츠의 내용이 너무 길 경우 .text-truncate 클래스를 사용하여 문자열을 자를 수 있습니다. display: inline-block 또는 display: block이 필요합니다.

This text is quite long, and will be truncated once displayed.
This text is quite long, and will be truncated once displayed.
<!-- Block level -->
<div class="row">
  <div class="col-2 text-truncate">
    This text is quite long, and will be truncated once displayed.
  </div>
</div>

<!-- Inline level -->
<span class="d-inline-block text-truncate" style="max-width: 150px;">
  This text is quite long, and will be truncated once displayed.
</span>