- Sass Tutorial
- Sass - Home
- Sass - Overview
- Sass - Installation
- Sass - Syntax
- Using Sass
- Sass - CSS Extensions
- Sass - Comments
- Sass - Script
- Sass - @-Rules and Directives
- Control Directives & Expressions
- Sass - Mixin Directives
- Sass - Function Directives
- Sass - Output Style
- Extending Sass
- Sass Useful Resources
- Sass - Interview Questions
- Sass - Quick Guide
- Sass - Useful Resources
- Sass - Discussion
Sass - @each Directive
Description
SASS provides @each directive with multiple assignments and with maps. We will discuss them one by one from the following table.
S. No. | Directive types & Description |
---|---|
1 | @each
This variable contains the value of each item in a list. |
2 | Multiple assignments
Multiple values can also be used with @each directive. |
3 | Multiple assignments with maps.
Multiple assignment works well with maps and they are considered as lists of pairs. |
sass_control_directives_expressions.htm
Advertisements
To Continue Learning Please Login
Login with Google