📜  LESS-其他功能

📅  最后修改于: 2020-10-22 07:12:40             🧑  作者: Mango


 

杂项功能由一组不同类型的功能组成。

下表列出了所有类型的misc函数-

Sr.No. Functions & Description
1 color

It is a string which represents colors.

2 image – size

It is used to examine the dimension of the image from the file.

3 image – width

It examines the width of the image from the file.

4 image – height

It examines the height of the image from the file.

5 convert

A number is converted from one unit to another.

6 data – uri

Data uri is uniform resource identifier (URI) schema which gets a resource inline on webpages.

7 default

Default function returns true only when it is available inside the guard condition and does not match with any other mixin.

8 unit

Default function returns true only when it is available inside the guard condition and does not match with any other mixin

9 get – unit

get – unit 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.