Less – Misc Functions


LESS – Misc Functions


”;


Misc functions consist of a group of functions of a different kind.

The following table lists all the types of misc functions −

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.

Advertisements

”;

Leave a Reply

Your email address will not be published. Required fields are marked *