- Mastering Sass
- Luke Watts
- 401字
- 2021-07-14 10:28:19
A bit of sassy reminiscing
As I mentioned I started Sass some time ago. I even remember that illustration of the girl with the telephone. Remember her? I always imagined she was having a sassy debate with her friend about the latest web design trends and telling her friend to stop using IDs in her CSS.
Anyways, I can also remember it was actually pretty difficult to learn Sass. The only thing that got me to persevere was I could use as little as I wanted in the beginning, so I had that safety net of plain old CSS. So when I started out I really only used Sass for the variables, imports and the nesting. Even with that, it made my life so much better!
The version was Classy Cassidy(3.0.18), and even though Sass hadn't been offering the .scss
syntax for long at that point, it was really starting to make waves, due to the fact you could just write css
and use as little or as much of Sass as you wanted. When it's put like that to someone you'd wonder why it wasn't a feature in the first place.
Back then you actually didn't even install Sass, you installed Haml. Sass just sort of came with it, like a cool sibling. The whole Haml situation confused me. I wasn't quite sure if I had to use it use Sass, or what the heck Haml was in the first place. Also, back then I was still pretty green to programming and definitely to the command line. The fact that the documentation was geared towards Unix completely threw me off. I wasn't even sure if I could get Sass set up on Windows properly.
I also made the mistake of thinking the Sass reference was written in a strict order. So I spent hours trying to wrap my head around the Sass::Plugin options, thinking I needed to set those up first somewhere to get things going. I didn't really know any better.
So I want to help you avoid the mistakes I made along my journey through Sass, and make sure you're getting the best out Sass. Not just the advanced features, but also the simple ones that you may have missed. You have Sass all set up and ready to go so you probably want to set up a project and start writing some Syntactically Awesome Style Sheets (Sass).
- 零起點學Linux系統管理
- Social Media Mining with R
- FreeRTOS實時內核應用指南
- Persistence in PHP with the Doctrine ORM
- 嵌入式操作系統(Linux篇)(微課版)
- 一學就會:Windows Vista應用完全自學手冊
- Cassandra 3.x High Availability(Second Edition)
- INSTANT Galleria Howto
- Kali Linux高級滲透測試(原書第3版)
- Building Telephony Systems With Asterisk
- Windows Vista終極技巧金典
- Learning Continuous Integration with Jenkins(Second Edition)
- Android應用性能優化最佳實踐
- 應急指揮信息系統設計
- VMware vSphere 5.1 Cookbook