Don't want to learn Bootstrap classes? Go to Bootstrap builder for busy developers.

Bootstrap class: .text-nowrap

<p class="text-nowrap">No wrap text.</p>

Preview

No wrap text.

Sass source

/* _text.scss:12 */
.text-nowrap   { white-space: nowrap !important; }
.text-truncate { @include text-truncate; }

// Responsive alignment

@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);

    .text#{$infix}-left   { text-align: left !important; }
    .text#{$infix}-right  { text-align: right !important; }
    .text#{$infix}-center { text-align: center !important; }
  }
}

Uses variables

/* _text.scss:12 */
$breakpoint
$grid-breakpoints
$breakpoint
$infix:
$breakpoint
$grid-breakpoints
$infix}-left
$infix}-right
$infix}-center