Open In App

What is the use of row class in Bootstrap 5?

The row class in Bootstrap5 is a fundamental component of the grid system, facilitating the creation of horizontal groups of columns. It ensures proper alignment and responsiveness of content.

Note: Always use the row class as a parent container for columns in Bootstrap’s grid system.

Syntax:

<div class="row">
<!-- Column elements go here -->
</div>

Key Features:

Article Tags :