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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Carlos Chang Cheng
    PLUS
    Carlos Chang Cheng
    Courses Plus Student 12,030 Points

    Don't understand why margin-bottom has (70px, 42px);

    Posted November 21, 2017 12:05pm by Carlos Chang Cheng
    Carlos Chang Cheng
    Courses Plus Student 12,030 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    2 Answers

  • jlampstack
    jlampstack
    23,932 Points

    Is there a way to import the url font only if it's being used?

    Posted August 30, 2017 11:04pm by jlampstack
    jlampstack
    23,932 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    1 Answer

  • robertmills2
    PLUS
    robertmills2
    Courses Plus Student 14,965 Points

    when using a calculation function within Sass, how can we set the significant digit of the output value?

    Posted August 21, 2017 6:48am by robertmills2
    robertmills2
    Courses Plus Student 14,965 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    1 Answer

  • Anwar Rizalman
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Anwar Rizalman
    Python Development Techdegree Graduate 33,620 Points

    Regarding @import for font style

    Posted August 15, 2017 7:38am by Anwar Rizalman
    .a{fill-rule:evenodd;}techdegree seal-36
    Anwar Rizalman
    Python Development Techdegree Graduate 33,620 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    2 Answers

  • Tiff L
    Tiff L
    2,709 Points

    function em / typography

    Posted March 17, 2017 7:16pm by Tiff L
    Tiff L
    2,709 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    1 Answer

  • alfonso moreno
    alfonso moreno
    5,096 Points

    Error in 'to_specs': Could not find 'sass'

    Posted December 29, 2015 6:08pm by alfonso moreno
    alfonso moreno
    5,096 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    2 Answers

  • Antonio Jaramillo
    Antonio Jaramillo
    15,604 Points

    I added a nice article on baselines. I thought it was relevant to this course.

    Posted October 22, 2015 5:42pm by Antonio Jaramillo
    Antonio Jaramillo
    15,604 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    0 Answers

  • sayedshahidi
    sayedshahidi
    9,158 Points

    Using pixel conversion for different values ?

    Posted August 12, 2015 12:18pm by sayedshahidi
    sayedshahidi
    9,158 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    2 Answers

  • Ian Mackenzie
    Ian Mackenzie
    11,062 Points

    error scss/_base.scss (Line 22: Undefined variable: "$font-weight--light".)

    Posted June 9, 2015 11:16pm by Ian Mackenzie
    Ian Mackenzie
    11,062 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    1 Answer

  • Leigh Maher
    Leigh Maher
    21,830 Points

    Confusion about set up of files

    Posted April 29, 2015 4:27pm by Leigh Maher
    Leigh Maher
    21,830 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    4 Answers

  • Ivan Uvarov
    Ivan Uvarov
    22,403 Points

    Strange use of em

    Posted April 10, 2015 7:24pm by Ivan Uvarov
    Ivan Uvarov
    22,403 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    1 Answer

  • tian jin
    PLUS
    tian jin
    Courses Plus Student 5,162 Points

    is the line-height missing em?

    Posted February 16, 2015 4:36pm by tian jin
    tian jin
    Courses Plus Student 5,162 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    1 Answer

  • Edward Bryan Kene Morales
    Edward Bryan Kene Morales
    7,374 Points

    Sass Naming Convention

    Posted December 23, 2014 8:54pm by Edward Bryan Kene Morales
    Edward Bryan Kene Morales
    7,374 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    1 Answer

  • Sidney François
    Sidney François
    2,092 Points

    Why/how is the _base.scss line-height calculated?

    Posted October 1, 2014 11:16am by Sidney François
    Sidney François
    2,092 Points
    • CSS
    • Modular CSS with Sass
    • Getting Modular with Mixins and Functions
    • Pixels to Em Function

    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.