1.

Which is not a color function?(a) lighten()(b) fade()(c) darken()(d) opaque()This question was posed to me in semester exam.The doubt is from Responsive Overview topic in division Advance HTML of HTML

Answer»

Right option is (d) opaque()

The explanation is: LESS provides few FUNCTIONS for adjusting colors. Some of the functions are DARKEN(@color, n%), lighten(@color, n%), FADE(@color, n%). Lighten makes the color lighter than its initial value, fade lowers the color density, darken makes the color darker than its initial value.



Discussion

No Comment Found

Related InterviewSolutions