Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

James Barnett
James Barnett
39,199 Points

pt for margin what is this craziness?

Hampton Catlin - You made me laugh and wonder "what is this craziness" using pt as unit for margin in the defining variables video of the Sass course.

It's a pretty contrived example, but it seems like it could (possibly) have some good use cases.

2 Answers

Hampton Catlin
STAFF
Hampton Catlin
Treehouse Guest Teacher

I am king of "well, it should be possible" ;)

Hampton Catlin

I much prefer writing the code in Sass (Sass’s indented syntax), rather than Scss. Every tutorial I watch, they usual say Sass, but it is written in Scss... leaves me confused!

What is your preferred version to work with?

I just set up all my imports for a new project, and it is working sweet!

Thanks!

James Barnett
James Barnett
39,199 Points

Michael Trilford -

It's Sass & SCSS by the way, like Hampton Catlin taught us in the video capitalization matters.

Thank you, I did wonder about how I should write SCSS, as it looked wrong.

I think it was just for an example, as it made the whole number crazy 3.45678 value?

Can't quite remember :-)

Thought it was a weird choice also, haha.