Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 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
  • Samuel Kleos
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Samuel Kleos
    Front End Web Development Techdegree Student 13,728 Points

    The flex shorthand property assigns equal width to columns (.col) but flex-grow doesn't.

    Posted November 15, 2022 12:45am by Samuel Kleos
    .a{fill-rule:evenodd;}techdegree
    Samuel Kleos
    Front End Web Development Techdegree Student 13,728 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

  • Emil Lau
    Emil Lau
    6,233 Points

    Why ."col can control the class of "primary col" and "secondary col" while not specifying the name?

    Posted May 28, 2022 5:57pm by Emil Lau
    Emil Lau
    6,233 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

  • Mathew Cook
    Mathew Cook
    5,359 Points

    Mobile first approach

    Posted February 2, 2021 1:20pm by Mathew Cook
    Mathew Cook
    5,359 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

  • Zach Handler
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Zach Handler
    Web Development Techdegree Student 5,332 Points

    Would you use flexbox to make this type of layout?

    Posted November 2, 2019 7:49pm by Zach Handler
    .a{fill-rule:evenodd;}techdegree
    Zach Handler
    Web Development Techdegree Student 5,332 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

  • Nikos Papapetrou
    Nikos Papapetrou
    6,305 Points

    How can I achieve text to float next and under an image? Is it possible inside the flexbox?

    Posted July 9, 2019 12:11pm by Nikos Papapetrou
    Nikos Papapetrou
    6,305 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    2 Answers

  • daniel steinberg
    daniel steinberg
    14,651 Points

    Primary and Secondary Column width

    Posted June 5, 2019 6:05pm by daniel steinberg
    daniel steinberg
    14,651 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    2 Answers

  • Jesse Dispoto
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jesse Dispoto
    Front End Web Development Techdegree Graduate 14,538 Points

    Why did we not set a flex-basis on the .col ?

    Posted November 30, 2018 1:03am by Jesse Dispoto
    .a{fill-rule:evenodd;}techdegree seal-36
    Jesse Dispoto
    Front End Web Development Techdegree Graduate 14,538 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

  • Ahmed AL-dabagh
    Ahmed AL-dabagh
    3,036 Points

    a problem with flex grow

    Posted March 22, 2017 9:35am by Ahmed AL-dabagh
    Ahmed AL-dabagh
    3,036 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    2 Answers

  • Dongyun Cho
    Dongyun Cho
    2,256 Points

    How can I launch a new workplace?

    Posted March 5, 2017 5:48am by Dongyun Cho
    Dongyun Cho
    2,256 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

  • Harsh Munjal
    Harsh Munjal
    6,040 Points

    'Flex' shorthand works find. 'Flex-grow' doesn't. Am i doing something wrong?

    Posted January 17, 2017 11:23am by Harsh Munjal
    Harsh Munjal
    6,040 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

  • Sean Walsh
    Sean Walsh
    14,727 Points

    Problem creating a two column layout with Flexbox using WordPress widgets

    Posted December 11, 2016 5:00pm by Sean Walsh
    Sean Walsh
    14,727 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

  • Justin Sze Wei Teo
    Justin Sze Wei Teo
    9,418 Points

    Flex: 1 vs Flex-grow: 1

    Posted June 14, 2016 10:32am by Justin Sze Wei Teo
    Justin Sze Wei Teo
    9,418 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    4 Answers

  • Cindy Lea
    PLUS
    Cindy Lea
    Courses Plus Student 6,497 Points

    Creating a two Column Layout with Flexbox - Video not working

    Posted May 23, 2016 11:10pm by Cindy Lea
    Cindy Lea
    Courses Plus Student 6,497 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

  • Manav Misra
    Manav Misra
    11,778 Points

    What is the difference between flex and flex-grow?

    Posted April 21, 2016 2:59pm by Manav Misra
    Manav Misra
    11,778 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    2 Answers

  • Byron Glover
    Byron Glover
    5,772 Points

    Flex-box properties

    Posted January 29, 2016 8:55pm by Byron Glover
    Byron Glover
    5,772 Points
    • CSS
    • CSS Flexbox Layout
    • Building a Layout with Flexbox
    • Creating a Two Column Layout with Flexbox

    1 Answer

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