🤑 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
    • Showing results for:
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Close
  • Avula VenkataBasavaraju
    Avula VenkataBasavaraju
    1,034 Points

    img{ width:100%; max-width: 600px; } When viewport is 720px; what is the width of the image? Please explain.

    Posted on Mar 15, 2024 by Avula VenkataBasavaraju
    Avula VenkataBasavaraju
    1,034 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Quiz: Box Model Concepts

    1 Answer

  • Waylon Harrison
    Waylon Harrison
    5,561 Points

    id selector?

    Posted on Feb 24, 2024 by Waylon Harrison
    Waylon Harrison
    5,561 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Box-sizing

    1 Answer

  • Bishwajit Roy
    Bishwajit Roy
    963 Points

    the DRY principle means Don’t ------Yourself.

    Posted on Apr 27, 2023 by Bishwajit Roy
    Bishwajit Roy
    963 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Quiz: Box Model Concepts

    1 Answer

  • Kushal Paliwal
    Kushal Paliwal
    602 Points

    Select the header element and set its height value to 25% of the viewport's height.

    Posted on Jan 5, 2023 by Kushal Paliwal
    Kushal Paliwal
    602 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Dohr Zerkavod
    Dohr Zerkavod
    8,169 Points

    website not changing the style well - workspace malfunction

    Posted on Sep 23, 2022 by Dohr Zerkavod
    Dohr Zerkavod
    8,169 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • max-width

    2 Answers

  • Brendan O'Connor
    Brendan O'Connor
    4,091 Points

    My friend, can you slow down your typing please?

    Posted on Jun 1, 2022 by Brendan O'Connor
    Brendan O'Connor
    4,091 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Box-sizing

    1 Answer

  • vincent favetta
    vincent favetta
    571 Points

    vh

    Posted on Mar 4, 2022 by vincent favetta
    vincent favetta
    571 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Ethan Gonzalez
    Ethan Gonzalez
    4,984 Points

    how do i find the viewport hight?

    Posted on Jan 26, 2022 by Ethan Gonzalez
    Ethan Gonzalez
    4,984 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    2 Answers

  • AJ McGee
    AJ McGee
    4,766 Points

    declaration not working * { box-sizing: border-box; }

    Posted on Jan 12, 2022 by AJ McGee
    AJ McGee
    4,766 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Box-sizing

    1 Answer

  • Hannah Lamoureux
    Hannah Lamoureux
    1,810 Points

    Next, select the section element with the class .intro. Set its width value to 75% of the overall viewport width.

    Posted on Jan 12, 2022 by Hannah Lamoureux
    Hannah Lamoureux
    1,810 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points

    Box-height

    Posted on Sep 19, 2021 by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    0 Answers

  • Jakov Marsic
    Jakov Marsic
    3,961 Points

    At the end of the video Anwar states how there is an issue with some content overlapping with other content

    Posted on Jul 8, 2021 by Jakov Marsic
    Jakov Marsic
    3,961 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points

    how do i do the overall viewport width

    Posted on Apr 15, 2021 by Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Alana Warson
    Alana Warson
    5,296 Points

    Set header element and set it's value to 25% of viewpoint height.

    Posted on Mar 2, 2021 by Alana Warson
    Alana Warson
    5,296 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    3 Answers

  • John Holcombe
    John Holcombe
    1,136 Points

    Viewpoint Width

    Posted on Jan 19, 2021 by John Holcombe
    John Holcombe
    1,136 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    3 Answers

  • Marquis Briggs
    Marquis Briggs
    8,967 Points

    How can I make the header element 25% of the viewpoint height in CSS?

    Posted on Jan 14, 2021 by Marquis Briggs
    Marquis Briggs
    8,967 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Larissa Ragland
    Larissa Ragland
    6,653 Points

    Challenge task 2 of 2 having problems

    Posted on Jan 11, 2021 by Larissa Ragland
    Larissa Ragland
    6,653 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    2 Answers

  • Hannah Gray
    Hannah Gray
    2,318 Points

    Select the header element and set its height value to 25% of the viewport's height.

    Posted on Jan 10, 2021 by Hannah Gray
    Hannah Gray
    2,318 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

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.