🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Jamaal Barker
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jamaal Barker
    Front End Web Development Techdegree Graduate 13,999 Points

    My logo isn't popping up once I put the display: flex for the .main-header, .nav tag.

    Posted October 29, 2021 3:16am by Jamaal Barker
    .a{fill-rule:evenodd;}techdegree seal-36
    Jamaal Barker
    Front End Web Development Techdegree Graduate 13,999 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    1 Answer

  • Muaaz Matwadia
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Muaaz Matwadia
    Full Stack JavaScript Techdegree Graduate 19,327 Points

    Height

    Posted January 6, 2021 9:42pm by Muaaz Matwadia
    .a{fill-rule:evenodd;}techdegree seal-36
    Muaaz Matwadia
    Full Stack JavaScript Techdegree Graduate 19,327 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    1 Answer

  • Muaaz Matwadia
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Muaaz Matwadia
    Full Stack JavaScript Techdegree Graduate 19,327 Points

    Display property

    Posted January 6, 2021 9:40pm by Muaaz Matwadia
    .a{fill-rule:evenodd;}techdegree seal-36
    Muaaz Matwadia
    Full Stack JavaScript Techdegree Graduate 19,327 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    1 Answer

  • roger wellis
    PLUS
    roger wellis
    Courses Plus Student 32 Points

    Make the menu collapse into a hamburger menu?

    Posted August 6, 2019 6:30am by roger wellis
    roger wellis
    Courses Plus Student 32 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    3 Answers

  • xin song
    xin song
    1,929 Points

    different from video: .main-content over nav

    Posted September 5, 2018 4:23am by xin song
    xin song
    1,929 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    0 Answers

  • Eusebiu Gagea
    Eusebiu Gagea
    14,127 Points

    main content displayed over nav

    Posted August 11, 2017 10:55am by Eusebiu Gagea
    Eusebiu Gagea
    14,127 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    1 Answer

  • Kent Hefley
    Kent Hefley
    11,217 Points

    SVG Not Scaling in "<a></a> tags

    Posted June 11, 2017 6:04pm by Kent Hefley
    Kent Hefley
    11,217 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    1 Answer

  • Andrea Monty
    Andrea Monty
    2,724 Points

    Main nav and main content not working correctly with Flexbox

    Posted December 27, 2016 3:30pm by Andrea Monty
    Andrea Monty
    2,724 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    1 Answer

  • Audrey Watson
    Audrey Watson
    1,061 Points

    Fixed/Sticky Navbar

    Posted October 7, 2016 1:21am by Audrey Watson
    Audrey Watson
    1,061 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    1 Answer

  • Morten Hauge
    Morten Hauge
    9,240 Points

    Should you always use flexbox if possible?

    Posted August 8, 2016 3:45pm by Morten Hauge
    Morten Hauge
    9,240 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    2 Answers

  • Dean Conway
    Dean Conway
    3,301 Points

    flex box container not working

    Posted February 28, 2016 12:51pm by Dean Conway
    Dean Conway
    3,301 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    2 Answers

  • Srdjan Cestic
    Srdjan Cestic
    6,855 Points

    Content center

    Posted February 15, 2016 2:25pm by Srdjan Cestic
    Srdjan Cestic
    6,855 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    3 Answers

  • jsdevtom
    jsdevtom
    16,963 Points

    Why do my links move themselves on click? (GIF included)

    Posted January 17, 2016 3:25pm by jsdevtom
    jsdevtom
    16,963 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    2 Answers

  • ammarkhan
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points

    Creating a dropdown

    Posted December 22, 2015 3:06pm by ammarkhan
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    1 Answer

  • Mike Ernest
    Mike Ernest
    22,680 Points

    Why is the .nav element aligned on the right side of the page when viewed at a min width of 1025px?

    Posted December 1, 2015 4:22pm by Mike Ernest
    Mike Ernest
    22,680 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    2 Answers

  • Devon Deason
    Devon Deason
    7,061 Points

    Main-content is all off?

    Posted October 26, 2015 3:19am by Devon Deason
    Devon Deason
    7,061 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    1 Answer

  • Jaime Rios
    PLUS
    Jaime Rios
    Courses Plus Student 21,100 Points

    Should I always use this breakpoints?

    Posted August 5, 2015 3:55am by Jaime Rios
    Jaime Rios
    Courses Plus Student 21,100 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    2 Answers

  • Iain Simmons
    MOD
    Iain Simmons
    Treehouse Moderator 32,305 Points

    Flexbox Responsive Nav: different code, same result

    Posted July 29, 2015 1:16am by Iain Simmons
    Iain Simmons
    Treehouse Moderator 32,305 Points
    • CSS
    • Build a Responsive Navigation with Flexbox

    0 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.