Friday, March 3, 2017

LESS - Misc Functions

Misc function consists of group of function of different kind.
Following table lists all the types of misc function:
S.N.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 inlines a resource in web pages.
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.

No comments:

Post a Comment