MENU
List
length(@list) | Returns the number of elements in a value list. |
extract(@list, @position) | Returns the value at a specified position in a list. |
A list is comma-separated or space-separated.
@l1: 1px, 2px, 3px, 4px;
@l2: apple coconut pear melon;
.a:after{
content: length(@l1) extract(@l2,3);
}
.a:after { content: 4 pear; }