Can't less customize functions?

you can define methods like sass

clipboard.png

Apr.01,2021

.average(@x, @y) {
  @average: ((@x + @y) / 2);
}

div {
  .average(16px, 50px); // "call" the mixin
  padding: @average;    // use its "return" value
}

must be allowed. For more information, please see http://lesscss.cn/features/-sharpm.

.

No, only mixin
click on friends, you simply do not understand the difference between mixin and function, but also mislead others, hurry up to change careers

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44dd5-43817.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44dd5-43817.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?