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

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

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

  • 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
      • • Vibe Coding
    • Showing results for:
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography
    • Close
  • Jorge Vega
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jorge Vega
    Front End Web Development Techdegree Student 2,905 Points

    When to use rem, em or px?

    Posted on Apr 18, 2019 by Jorge Vega
    .a{fill-rule:evenodd;}techdegree
    Jorge Vega
    Front End Web Development Techdegree Student 2,905 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    2 Answers

  • angiejang
    angiejang
    3,134 Points

    Why is it necessary to use em for the height of padding but % for the width of padding...?

    Posted on Mar 29, 2019 by angiejang
    angiejang
    3,134 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    1 Answer

  • Michael Pashkov
    Michael Pashkov
    22,024 Points

    Good course, but why not mobile first approach?

    Posted on Jan 8, 2019 by Michael Pashkov
    Michael Pashkov
    22,024 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    0 Answers

  • Bartlomiej Zabielski
    PLUS
    Bartlomiej Zabielski
    Courses Plus Student 10,363 Points

    @media video responsive typography video

    Posted on Jan 25, 2018 by Bartlomiej Zabielski
    Bartlomiej Zabielski
    Courses Plus Student 10,363 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    2 Answers

  • Andre Kucharzyk
    Andre Kucharzyk
    4,479 Points

    My screen resolution vs resolution in chrome dev tools

    Posted on Oct 13, 2017 by Andre Kucharzyk
    Andre Kucharzyk
    4,479 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    5 Answers

  • Andre Kucharzyk
    Andre Kucharzyk
    4,479 Points

    why would you define @media max-width with ems instead of px?

    Posted on Oct 12, 2017 by Andre Kucharzyk
    Andre Kucharzyk
    4,479 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    1 Answer

  • Josie Nagy
    Josie Nagy
    14,992 Points

    How should I use FitText.js? ( Web Typography -> Responsive Typography )

    Posted on Mar 30, 2017 by Josie Nagy
    Josie Nagy
    14,992 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    1 Answer

  • Yuqi Feng
    Yuqi Feng
    4,686 Points

    Why is the container max-width 46rem? Why 46? What is the route em here? Why should it be rem rather than em here?

    Posted on Jul 25, 2016 by Yuqi Feng
    Yuqi Feng
    4,686 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    1 Answer

  • Petrov von Petrov
    Petrov von Petrov
    21,916 Points

    40-50 words?

    Posted on Jun 16, 2015 by Petrov von Petrov
    Petrov von Petrov
    21,916 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    4 Answers

  • David Scanu
    David Scanu
    20,160 Points

    Why using the media querie on the body selector, not on the html selector ?

    Posted on May 6, 2015 by David Scanu
    David Scanu
    20,160 Points
    • Design
    • Web Typography
    • Laying Out Type for the Web
    • Responsive Typography

    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.