পৃষ্ঠাসমূহ

.

Search Your Article

Total Pageviews

Friday, March 3, 2017

Less - Color Operation

Description

LESS provides number of useful operation functions to alter and manipulate colors in different ways and take parameters in the same units. LESS supports some of the Color Operation Functions as shown in the table below:

S.N.Directives & Description
1 saturate
It vary the intensity or saturation of a color in the element.
2 desaturate
It decrease the intensity or saturation of a color in the element.
3 lighten
It increase the lightness of a color in the element.
4 darken
It vary the intensity or saturation of a color in the element.
5 fadein
It increase the opacity for selected elements.
6 fadeout
It decrease the opacity for selected elements.
7 fade
It is used to set the transparency of a color for selected elements.
8 spin
It is used to rotate the angle of a color for selected elements.
9 mix
It mixes the two colors along with the opacity.
10 tint
It mixes the color with white as you decrease the proportion of the color.
11 shade
It mixes the color with black as you decrease the proportion of the color.
12 greyscale
It discard the saturation from a color in the selected elements.
13 contrast
It sets the contrast for the colors in the element.

No comments:

Post a Comment