Home » Less List length() function

Less List length() function

by Online Tutorials Library

Less List length()

The Less List Length Function take values (these values must be comma or space separated) as a parameter and return an integer representing the number of elements in a list.

Length Function Example

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

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

HTML file: simple.html

You may also like