Loading Please Wait...
The CSS filter property applies graphical effects like blur or color shift to an element. Filters are commonly used to adjust the rendering of images, backgrounds, and borders.
Applies a Gaussian blur to the input image.
filter: blur(5px);
Applies a linear multiplier to the input image, making it appear more or less bright. Values are linear multipliers on the effect, with 0% creating a completely black image, 100% having no effect, and values over 100% brightening the image.
filter: brightness(2);
Adjusts the contrast of the input image. A value of 0% makes the image grey, 100% has no effect, and values over 100% create a contrast.
filter: contrast(200%);
Applies the parameter shadow as a drop shadow, following the contours of the image.
filter: drop-shadow(16px 16px 10px black);
Converts the image to grayscale. A value of 100% is completely grayscale. The initial value of 0% leaves the input unchanged. Values between 0% and 100% produce linear multipliers on the effect.
filter: grayscale(100%);
Applies a hue rotation. The angle value defines the number of degrees around the hue color circle at which the input samples will be adjusted. A value of 0deg leaves the input unchanged.
filter: hue-rotate(90deg);
Inverts the samples in the input image. A value of 100% completely inverts the image. A value of 0% leaves the input unchanged. Values between 0% and 100% have linear multipliers on the effect.
filter: invert(100%);
Applies transparency. 0% makes the image completely transparent and 100% leaves the image unchanged.
filter: opacity(50%);
Saturates the image, with 0% being completely unsaturated, 100% leaving the image unchanged, and values of over 100% increasing saturation.
filter: saturate(200%);
Converts the image to sepia, with a value of 100% making the image completely sepia and 0% making no change.
filter: sepia(100%);
Use other resource (image) as filter.
filter: url("filters.svg#filter-id");
You may combine any number of functions to manipulate the rendering. The filters are applied in the order declared.
filter: contrast(175%) brightness(103%);
How you feel about this blog:
Share this blog on:
If you find any error in the turtorials, or want to share your suggestion/feedback, feel free to send us email at: info@lynxsia.com
Contact UsWe are concern with various development process like website design & development, E-commerce development, Software development, Application development, SMS & Bulk SMS Provider, PWA Development, and many more..
Copyright ©
, Lynxsia IT Solutions, All rights reserved