Home » Less List extract() function

Less List extract() function

by Online Tutorials Library

Less List extract()

The Less List Extract Function is used to return the value at a specified position in the list. It takes list and index as parameters.

Note: In the list, values must be separated by a comma or space and integer specifies a position of a element to return.


Extract Function Example

Let’s take an example to demonstrate the usage of extract function in Less file.

Create a HTML file named ?simple.html?, having the following data.

HTML file: simple.html

You may also like