Less misc functions contain a group of functions of different types.

A list of misc functions of different types.

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.