Columns

Columns form the backbone of your layout system, providing a flexible grid structure for organizing content. In Flow CSS, the grid system is based on a total of 12 columns, allowing you to easily create responsive layouts.

Usage

To use columns, simply add the appropriate classes to your HTML elements.

Output:
Column 1
Column 2
Column 3
Column 4
            
<div class="container">
  <div class="col-lg-4">
    <div class="group">
      <!-- Your content goes here -->
    </div>
    <div class="group">
      <!-- Your content goes here -->
    </div>
    <div class="group">
      <!-- Your content goes here -->
    </div>
    <div class="group">
      <!-- Your content goes here -->
    </div>
  </div>
</div>
            
          

NOTE: This code creates a column with Four groups in it. On large screens, both groups will be displayed side by side.

Responsive Columns

You can specify different column sizes for different screen sizes using responsive classes.

Output:
Column 1
Column 2
Column 3
Column 4
            
<div class="container">
  <div class="col-lg-4 col-md-3 col-sm-2">
    <div class="group">
      Column 1
    </div>
    <div class="group">
      Column 2
    </div>
    <div class="group">
      Column 3
    </div>
    <div class="group">
      Column 4
    </div>
  </div>
</div>
            
          

NOTE: In this example, the column will display Four groups side by side on large screens and three groups side by side on medium screens and two groups side by side on small screens.

Features
  • Flexible Layout:

    The group class allows for flexible layout options, accommodating various content types.

  • Consistent Spacing:

    Headings within the group have consistent spacing, ensuring readability and visual hierarchy.

  • Flexible Layout:

    Columns adapt to different screen sizes, providing flexibility in layout design.

  • Responsive Design:

    Columns automatically adjust their widths based on the viewport size, ensuring optimal viewing on various devices.

Summary

Columns in Flow CSS allow you to create responsive and flexible layouts for your projects. By using the appropriate classes, you can easily define the structure of your content and ensure it looks great on all devices.