Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
HTML and CSS: Creating Navigation Bars

HTML and CSS: Creating Navigation Bars

2h 18mIntermediate2021-08-13

Authors

Jen Kramer

Jen Kramer

Teaches web design and development

Course details

Even if your product or service is truly original, the app or site you build for it is going to share elements with every other app or site on the planet. Take, for example, the humble navigation bar, which your users need to find their way through your site. In this course, instructor Jen Kramer demonstrates how to create beautiful, accessible navbars using HTML and CSS techniques that work in any web context. Jen starts by detailing the proper markup for a nav bar and the box model associated with its elements. She then goes over how to style both vertical and horizontal navigation bars—including how to put a logo right in the middle of a horizontal navbar. Finally, Jen shares a few advanced tricks, including how to create dropdowns and mobile layouts with hamburger buttons with CSS, no JavaScript required.

Skills covered

HTMLInteraction DesignCSSWeb StandardsWeb DesignFront-End Web DevelopmentUser ExperienceWeb DevelopmentOpen SourceDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Navigating the web with navbars
  • 02 - Working with CodePen

1. Navigation Bar Basics

  • 03 - Using HTML to mark up a navbar
  • 04 - Understanding the box model of a navbar
  • 05 - Removing default list styling
  • 06 - Understanding link states and styling the text

2. Vertical Navigation Bars

  • 07 - Creating space in your navbar
  • 08 - Enlarging the clickable area of the link
  • 09 - Indicating where you are in the navigation
  • 10 - Adding an icon to the link in an accessible way
  • 11 - Using background images in links for styling
  • 12 - Challenge - Style a vertical navbar
  • 13 - Solution - Style a vertical navbar

3. Horizontal Navigation Bars

  • 14 - Making navigation go horizontal with inline-block
  • 15 - Making navigation go horizontal with Flexbox
  • 16 - Centering and styling a horizontal navigation bar
  • 17 - Placing a logo in the center of a horizontal navbar
  • 18 - Challenge - Style a horizontal navbar
  • 19 - Solution - Style a horizontal navbar

4. Responsive Navigation Bars

  • 20 - Add icons for a hamburger button
  • 21 - Adding hamburger button functionality with CSS
  • 22 - Styling the navbar and hamburger button with media queries
  • 23 - Challenge - Make your navbar responsive
  • 24 - Solution - Make your navbar responsive

5. Nested Navigation Bars

  • 25 - Adding and styling a second level of vertical navigation
  • 26 - Adding a second layer of horizontal navigation
  • 27 - Creating dropdowns with CSS

Conclusion

  • 28 - Additional HTML and CSS courses

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal