Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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
    Iain Simmons
    32,305 Points

    Flexbox Responsive Nav: different code, same result

    Posted July 29, 2015 1:16am by Iain Simmons
    Iain Simmons
    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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord