seven-phases-max / Less Plugin Lists
Licence: mit
List/Array manipulation for Less
Stars: ✭ 39
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Less Plugin Lists
Bootstrap Blog Template
An awesome blog template constructed using Twitter Bootstrap 3
Stars: ✭ 29 (-25.64%)
Mutual labels: less
Metro Ui Css
Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
Stars: ✭ 6,843 (+17446.15%)
Mutual labels: less
Three Dots
🔮 CSS loading animations made by single element.
Stars: ✭ 912 (+2238.46%)
Mutual labels: less
Vue3 H5 Template
🎉基于Vue3+TypeScript+ Vue-Cli4.0 + vant ui + sass+ rem 适配方案+axios 封装 + jssdk配置 + vconsole移动端调试,构建手机端模板脚手架
Stars: ✭ 26 (-33.33%)
Mutual labels: less
New Moon
🌙 The optimized dark theme for web development.
Stars: ✭ 918 (+2253.85%)
Mutual labels: less
less-plugin-lists
Less plugin for lists/arrays manipulation.
Features
- .for and .for-each - (almost) canonical syntax for iterative statements
- Vector Arithmetic - perform arithmetic operations on lists
Functions
The plugin extends Less with the following functions:
-
at
- returns the value at the specified position in a list. -
cat
- concatenates two or more lists. -
flatten
- returns a one-dimensional list containing all elements of an input list. -
join
- joins all elements of a list into a string. -
l
- creates a comma or space separated list. -
reverse
- returns list in reversed order. -
slice
- returns selected portion of a list. -
splice
- replaces or removes selected portion of a list and returns the modified copy. -
transpose
- transposes rows and columns of a list. -
_inspect
- return a string representation of a list with debug/log formatting.
Installation
npm install -g less-plugin-lists
lessc
Using with lessc --lists file.less
For more details about using plugins with the command line Less compiler see the corresponding section in the Less documentation.
Using with common Less tools
Programmatic Usage
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].