📜  LESS杂项函数

📅  最后修改于: 2021-01-06 04:42:12             🧑  作者: Mango

杂项功能少

较少的杂项函数包含一组不同类型的函数。

不同类型的杂项函数列表。

Index Function Description
1) color it is a string that is used to represent colors.
2) image-size It is used to check the dimension of the image from the file.
3) image-width It is used to check the width of the image from the file.
4) image-height It is used to check the height of the image from the file.
5) convert It is used to convert a number from one unit to another.
6) data-uri It specifies uniform resource identifier (uri) schema which inlines a resource in web pages.
7) default It returns true only when it is available inside the guard condition and does not match with any other mixin.
8) unit It returns true only when it is available inside the guard condition and does not match with any other mixin
9) get-unit This function returns its unit where the argument is present with number and units.
10) svg-gradient svg-gradient is a transition of one color to another. it can add many colors to the same element.