Return to book
Review this book
About the author
Introduction
1.
BYOF
1.1.
Anatomy of a function
1.2.
Build your own function
1.3.
Grids and custom functions
1.4.
Function v. Mixin
2.
Control Directives
2.1.
@if control directive
2.2.
@for loops
2.3.
@while loops
2.4.
@each loops
3.
Native Sass Functions
3.1.
Color
3.2.
Opacity
3.3.
Data
3.4.
Introspection
4.
Working with Lists
4.1.
A brief look at font-awesome
4.2.
Improvements with lists
5.
Working with maps
5.1.
Improvements with maps
5.2.
Further improvements
6.
Appendix A
6.1.
Color functions
6.2.
Opacity functions
6.3.
Data functions
6.3.1.
String functions
6.3.2.
Number functions
6.3.3.
List functions
6.3.4.
Map functions
6.4.
Introspection functions
6.5.
Miscallaneous functions
Powered by
GitBook
A
A
Serif
Sans
White
Sepia
Night
Twitter
Google
Facebook
Weibo
Instapaper
Sass in the Real World: book 2 of 4
Miscallaneous functions
Function defintion
Function description
if($condition, $if-true, $if-false)
Example:
unique-id()
Example: