1.

Which of the following removes left, top and right borders from navbar?(a) .navbar-toggle(b) .navbar-right(c) .navbar-static-top(d) .navabr-navThe question was asked in an interview.My question is from Responsive Overview in chapter Advance HTML of HTML

Answer»

The correct option is (c) .navbar-static-top

The best explanation: .navbar-nav is used on

    container that CONTAINS LIST ITEMS with links inside a navigation BAR. .navbar-right aligns nav links, forms, buttons or text in navbar to the right. .navbar-static-top removes left, top and right borders (rounded CORNERS) from navbar, default navbar has a grey border and 4px border-radius by default, .navbar-toggle styles button that should open navbar on small screens.


Discussion

No Comment Found

Related InterviewSolutions