1.

Which of the following centers tabs/pills?(a) .nav-justified(b) .nav nav-pills(c) .nav-stacked(d) .nav.navbar-navThe question was asked during a job interview.Enquiry is from Responsive Overview in chapter Advance HTML of HTML

Answer» RIGHT option is (a) .nav-justified

The best I can explain: .nav-justified CENTERS tabs/pills, on screens smaller than 786px the items are stacked and the CONTENT will remained centered, .nav nav-pills indicates a pill menu, .nav.navbar-nav CONTAINS list items with links inside navigation bar, .nav-stacked is for vertically stack tabs or pills.


Discussion

No Comment Found

Related InterviewSolutions