Bootstrap Question:

Download Job Interview Questions and Answers PDF

Tell me what is column ordering and how it works?

Bootstrap Interview Question
Bootstrap Interview Question

Answer:

In bootstrap columns are displayed in the order in which they are defined. Now If there is a requirement to change the ordering of columns then we can use column ordering classes defined in bootstrap. We have following 2 classes for column ordering;

.col-md-push- *

.col-md-pull- *

Here * represents the number of columns to be ordered.

Note: push and pull are relative. If you push a column towards right then you need to pull a column towards left in order to keep design consistent. In place of md we may also use sm, lg, xs depending the size of the screen for which you want to implement column ordering.

Download Bootstrap Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what is column ordering in Bootstrap?Do you know how you can create Nav elements in Bootstrap?