InterviewSolution
Saved Bookmarks
| 1. |
Which of the following function adjust the brightness of an element’s color, for use by the filter property?(a) contrast()(b) dark()(c) light()(d) brightness()I got this question in an internship interview.Enquiry is from CSS Functions in chapter CSS Fundamentals, Colors and Styling of CSS |
|
Answer» CORRECT CHOICE is (d) brightness() The explanation: A value of 100% or decimal value of 1 leaves the image as is, while 0 produces black. INCREASING the value from 1 or 100% brightens pixels from their ORIGINAL values. |
|