August 2016
Intermediate to advanced
318 pages
6h 32m
English
Here are three important things you should know about lists:
Let's dive deep in the preceding mentioned points.
Sass list indexes do not start at zero. Some of you who've dealt with arrays in most languages will be expecting to get a value of $h3-font-size with the preceding code. However, Sass lists are not 0 based. Their first index is, in fact 1, meaning we can use the number that makes sense (to people who don't do a lot of programming) and not be required to subtract 1 from our heading variable first.
You can separate the items in a list with spaces instead of commas. ...
Read now
Unlock full access