- Overview
- Transcript
1.2 What Are Preprocessors?
Sass is a preprocessor. Before you start learning about how to use Sass, you really need to understand what preprocessors do. Let’s begin.
1.Introduction3 lessons, 05:39
1.1Welcome00:27
1.2What Are Preprocessors?02:43
1.3The Course Structure02:29
2.Installing and Using Sass2 lessons, 05:48
2.1Install Method 1: The Command Line03:07
2.2Install Method 2: Dedicated Apps and Services02:41
3.Week 17 lessons, 59:11
3.1Day 1: Syntax08:09
3.2Day 2: Nesting11:50
3.3Day 3: Nested Properties05:04
3.4Day 4: Variables06:22
3.5Day 5: Interpolation05:36
3.6Day 6: Data Types13:32
3.7Day 7: Operations08:38
4.Week 27 lessons, 44:27
4.1Day 1: @import Directive06:04
4.2Day 2: Partials03:02
4.3Day 3: @media Directive04:35
4.4Day 4: @extend Directive05:43
4.5Day 5: @if and @for Directives08:36
4.6Day 6: @each and @while Directives11:03
4.7Day 7: Mixins05:24
5.Conclusion1 lesson, 00:54
5.1Final Words00:54
1.2 What Are Preprocessors?
SaaS is a preprocessor and before you start learning about it, you need to understand what preprocessors are. And by definition a preprocessor is a program that takes one type of data and transforms it into another type of data. In the case SaaS, the process, the preprocessor takes SaaS code and transforms it into CSS code. Now you can look at these programs as extensions of the original language, in our case CSS. That means they have something extra, they have some extra features that help you get the job done faster. So in our case, we're talking about variables, we're talking about nesting, more complex operations and so on. Now with these features comes the biggest reason why you should use a preprocessor. Time, you save up a lot of time by using SaaS in our case, to your write CSS. Because of these features, because of the variables, because of the nesting, because of operations basically, you get a lot more power at your disposal. So you can do a lot more with preprocessors than you would be able to do with just plain CSS and you will do it a lot faster. Now here's a typical workflow when using SaaS. First you write the SaaS code. Then you compile it into CSS and then you'll load that CSS in your page. Just like you would any normal CSS file. Now there is that extra step. The compiling stuff. And you might think that it takes extra time, it's more complicated, it's not really, it does involve some technicalities, you'll learn about those in a future lesson, but it has a lot of benefits. So even though it's an extra step in reality, it actually saves you time. Now this course is organized in a specific way. There are 14 days with 14 different notions of SaaS and each day has it's own structure. So, coming up next we'll have a look at that structure. And you're going to learn exactly how you should use the source files provided with this course.