Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.3 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.3 KB

Navbar

Tag: CSS

You're given an HTML file for the top navigation bar of a website. The navigation bar consists of two unordered lists, containing three and two list items, respectively.

Style this navigation bar as follows:

  • The navigation bar should be a horizontal bar, spanning the entire width of its parent; all of its list items should be displayed in a single row.
  • The first unordered list (containing Product, Testimonials, and Pricing) should appear on the far left side of the navigation bar. The second unordered list (containing Team and Contact Us) should appear on the far right side of the navigation bar.
  • The navigation bar should have a background color of #265EF7 and a white font color.
  • The unordered lists should have no margin or padding. However, the individual list items should have vertical padding equal to their font size and horizontal padding equal to their font size multiplied by 1.5; their font size should be 16px.
  • Hovering over a list item should change its background color to #1E87B5 and the mouse cursor to a pointer.
  • There should be a solid, #F4F5F6, 2px border separating the list items. However this border shouldn't appear on the right side of Pricing or on the left side of Team.
  • The individual list items shouldn't have bullet points next to them.