Documentation v8.0.25

Preview Purchase

Overview

Use responsive-friendly custom flex classes to build nested layouts with fixed and fluid columns. The classes are named using the format flex-{property}for xsand flex-{breakpoint}-{property}for sm, md, lg, xl, and xxl.
Where propertyis one of:
  • root- to define the root node of the flex layout(usually it's used when the layout is placed as a direct child of the body element in order to fully occupy the window height)
  • column-auto- to set a column with auto height
  • column-fluid- to set a column with fluid height
  • row-auto- to set a column with auto width
  • row-fluid- to set a column with fluid width
  • center- to set a column's content vertically and horizontally centered
Fixed Height
Fluid Height
Fixed Height
Fluid Width
Fixed Width
<div class="d-flex flex-row h-300px">
    <div class="d-flex flex-column flex-row-auto w-200px">
        <div class="d-flex flex-column-auto h-50px bg-primary">
            <span class="text-white">Fixed Height</span>
        </div>

        <div class="d-flex flex-column-fluid bg-success flex-center">
            <span class="text-white">Fluid Height</span>
        </div>
    </div>

    <div class="d-flex flex-column flex-row-fluid">
        <div class="d-flex flex-column-auto h-70px bg-info flex-center">
            <span class="text-white">Fixed Height</span>
        </div>

        <div class="d-flex flex-row flex-column-fluid">
            <div class="d-flex flex-row-fluid bg-dark flex-center">
                <span class="text-white">Fluid Width</span>
            </div>

            <div class="d-flex flex-row-auto w-200px bg-warning flex-center">
                <span class="text-white">Fixed Width</span>
            </div>
        </div>
    </div>
</div>

Explore Metronic

Metronic Licenses

License FAQs
Regular License
For single end product used by you or one client
$ 39
Extended License
For single end product with paying users.
$ 939
Custom License
Reach us for custom license offers.
Buy Now

Metronic Demos

demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon