is now part of Shuffle™. The new editor includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.
Switch to Shuffle →

Bootstrap class: .fixed-top

<div class="fixed-top bg-primary">Fixed top</div>

Preview

Fixed top

Check .fixed-top in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

Tips 💡

Sass source

/* _position.scss:15 */
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: $zindex-fixed;
}

Uses variables

Code copied to the clipboard.

Copying failed

/* _position.scss:15 */
$zindex-fixed

More in Bootstrap Positioning