The filters property in CSS can be used to apply different image filters such as brightness, contrast, saturation, blur etc.
One of the functions that can be used is grayscale, which converts the element from full colored to grayscale depending on the percentage.
⚠️ Saturation of 0% has the same effect as grayscale 100%, although saturation can go more than 100% (saturation adds more colors)
#css
#csstricks
#html
#javascript
#coding
#programming
#webdesign
#frontend