Javatpoint Logo
Javatpoint Logo

Positions

Bootstrap position utility is used to quickly place a component outside the normal document flow. There are several fixed and sticky position classes are available.

Fixed top

It is used to position an element at the top of the viewport, from edge to edge. You can also add some additional CSS.

Syntax:

Fixed Bottom

It is used to position an element at the bottom of the viewport from edge to edge. You can also add some additional CSS.

Syntax:

Sticky Top

Sticky top is used to position an element at the top of the viewport, from edge to edge, but only when you scroll past it. The .sticky-top utility uses CSS's position: sticky, which isn't fully supported in all browsers.

Syntax:







Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA