Don't forget to gift yourself this Cyber Monday 👀 Get a year of Courses for $150 (40% off!)

Dive into new course Game Development with Phaser 👾

New AI course: Introduction to Computer Vision 💻

💥 ALL NEW: Code Adventures! ⚡ Dare to embark on a front end coding adventure 🌟

Get job-ready with our Career Toolbox Track's career advice, resume tips, and more 🧰

🤖 Check out all our AI content here 👀

Learn about our new Community Discord server here and join us on Discord here!

Students: got a cool project or resource to share? Submit it to Treehouse Links! 🤩

  • Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Code Adventures
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • AI
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
  • vikrant kaushal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    vikrant kaushal
    Front End Web Development Techdegree Student 2,558 Points

    Percentages and relation

    Posted December 17, 2020 5:47pm by vikrant kaushal
    .a{fill-rule:evenodd;}techdegree
    vikrant kaushal
    Front End Web Development Techdegree Student 2,558 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    1 Answer

  • Dino Batanovic
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Dino Batanovic
    Front End Web Development Techdegree Student 1,262 Points

    The primary content doesn't change the width

    Posted December 16, 2020 3:46am by Dino Batanovic
    .a{fill-rule:evenodd;}techdegree
    Dino Batanovic
    Front End Web Development Techdegree Student 1,262 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    1 Answer

  • sarahmoore4
    sarahmoore4
    6,980 Points

    Does a parent element need an absolute unit value for a child element to use a percentage unit when sizing?

    Posted October 19, 2020 7:25pm by sarahmoore4
    sarahmoore4
    6,980 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    1 Answer

  • Amanda Mallonee
    Amanda Mallonee
    7,540 Points

    css is not saving

    Posted April 7, 2020 5:07am by Amanda Mallonee
    Amanda Mallonee
    7,540 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    3 Answers

  • Robert Lynch
    Robert Lynch
    2,298 Points

    In CSS Basics using %.

    Posted March 24, 2020 1:21am by Robert Lynch
    Robert Lynch
    2,298 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    0 Answers

  • Konrad Dziekonski
    Konrad Dziekonski
    7,798 Points

    text-align: center

    Posted October 9, 2019 1:48pm by Konrad Dziekonski
    Konrad Dziekonski
    7,798 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    1 Answer

  • Matthew Francis
    Matthew Francis
    6,967 Points

    Pixels as a unit

    Posted November 4, 2018 6:29pm by Matthew Francis
    Matthew Francis
    6,967 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    1 Answer

  • Nour El-din El-helw
    Nour El-din El-helw
    8,241 Points

    Fixed pixel based font sizes and parent elements

    Posted April 23, 2018 8:09pm by Nour El-din El-helw
    Nour El-din El-helw
    8,241 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    2 Answers

  • Matthew Edey
    Matthew Edey
    4,238 Points

    Is the instructor misspeaking, or am I misunderstanding terminology.

    Posted January 17, 2018 1:48am by Matthew Edey
    Matthew Edey
    4,238 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    3 Answers

  • Andy tran
    Andy tran
    7,112 Points

    when do we use px ?and when do we use %?

    Posted January 10, 2018 8:49am by Andy tran
    Andy tran
    7,112 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    2 Answers

  • Garrosh HellScream
    Garrosh HellScream
    7,503 Points

    How do you get the window and viewport size to appear in the bottom right corner at the 00:50 mark?

    Posted January 9, 2018 2:26pm by Garrosh HellScream
    Garrosh HellScream
    7,503 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    1 Answer

  • Sandeep Singh
    Sandeep Singh
    3,582 Points

    text-alignment

    Posted August 6, 2017 2:37am by Sandeep Singh
    Sandeep Singh
    3,582 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    2 Answers

  • Andrew Felix
    Andrew Felix
    1,517 Points

    Is % (percentage unit) responsive?

    Posted June 19, 2017 11:15am by Andrew Felix
    Andrew Felix
    1,517 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    2 Answers

  • Nick Ars
    Nick Ars
    5,341 Points

    Can we add a common class for .primary-content and .secondary-content?

    Posted October 12, 2016 7:53pm by Nick Ars
    Nick Ars
    5,341 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    2 Answers

  • Christopher Sea
    Christopher Sea
    3,726 Points

    Is it possible to change the default font-size using 2 .css files?

    Posted April 8, 2016 9:07pm by Christopher Sea
    Christopher Sea
    3,726 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    3 Answers

  • Beth Farrelly
    Beth Farrelly
    2,157 Points

    Why is the paragraph text being set to 150% equivalent to 24px?

    Posted March 30, 2016 3:49pm by Beth Farrelly
    Beth Farrelly
    2,157 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    5 Answers

  • Omarwali Jones
    Omarwali Jones
    8,251 Points

    percentage values (%) in relation to the body element?

    Posted November 15, 2015 12:36am by Omarwali Jones
    Omarwali Jones
    8,251 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    1 Answer

  • Jonthue Michel
    Jonthue Michel
    1,462 Points

    So wouldn't pxiel length values be more mobile friendly than px?

    Posted August 12, 2015 1:47am by Jonthue Michel
    Jonthue Michel
    1,462 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    1 Answer

  • Zachary Hutchins
    Zachary Hutchins
    1,567 Points

    Parent element

    Posted June 17, 2015 2:59am by Zachary Hutchins
    Zachary Hutchins
    1,567 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    1 Answer

  • David Lacho
    David Lacho
    20,864 Points

    At 3:26 you say 150px but write 150%. I think you mean %?

    Posted March 25, 2015 11:54am by David Lacho
    David Lacho
    20,864 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    3 Answers

  • Ayoub AIT IKEN
    Ayoub AIT IKEN
    12,314 Points

    pourcentage

    Posted February 14, 2015 10:37pm by Ayoub AIT IKEN
    Ayoub AIT IKEN
    12,314 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    2 Answers

  • Eric Bezanson
    Eric Bezanson
    2,907 Points

    background-color not working

    Posted February 5, 2015 8:36am by Eric Bezanson
    Eric Bezanson
    2,907 Points
    • CSS
    • CSS Basics (2014)
    • Understanding Values and Units
    • Percentages

    3 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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.