Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.