Reinard
Reinard

Reputation: 3654

Bootstrap - Columns not align on same row

I have a Bootstrap row with 2 columns. But when viewing it in the browser's phone emulation, it displays as two rows. In regular dekstop modus, it does render as expected.

Any idea what is causing this?

enter image description here

<header role="heading" class="container-fluid">
            <div class="row">
                <div class="col-sm-2">                  
                    def
                </div>
                <div class="col-sm-9 ">
                    abc                    
                </div>
            </div>
        </header>

Upvotes: 0

Views: 724

Answers (1)

Reinard
Reinard

Reputation: 3654

As Atul Kumar said, "sm" is incorrect and it should be "xs"

Upvotes: 1

Related Questions