diff --git a/files/en-us/web/css/filter-function/blur()/index.html b/files/en-us/web/css/filter-function/blur()/index.html
index 3744f4dde410c02..24dcc5440099aa0 100644
--- a/files/en-us/web/css/filter-function/blur()/index.html
+++ b/files/en-us/web/css/filter-function/blur()/index.html
@@ -52,17 +52,21 @@
Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- - {{cssxref("filter-function/brightness", "brightness()")}}
- - {{cssxref("filter-function/contrast", "contrast()")}}
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
- - {{cssxref("filter-function/invert", "invert()")}}
- - {{cssxref("filter-function/opacity", "opacity()")}}
- - {{cssxref("filter-function/saturate", "saturate()")}}
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
diff --git a/files/en-us/web/css/filter-function/brightness()/index.html b/files/en-us/web/css/filter-function/brightness()/index.html
index 2d2768fe2284682..3d2322711d08457 100644
--- a/files/en-us/web/css/filter-function/brightness()/index.html
+++ b/files/en-us/web/css/filter-function/brightness()/index.html
@@ -53,17 +53,21 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- - {{cssxref("filter-function/blur", "blur()")}}
- - {{cssxref("filter-function/contrast", "contrast()")}}
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
- - {{cssxref("filter-function/invert", "invert()")}}
- - {{cssxref("filter-function/opacity", "opacity()")}}
- - {{cssxref("filter-function/saturate", "saturate()")}}
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
diff --git a/files/en-us/web/css/filter-function/contrast()/index.html b/files/en-us/web/css/filter-function/contrast()/index.html
index 6d38d343bd1e225..b9a9f51088b3d7a 100644
--- a/files/en-us/web/css/filter-function/contrast()/index.html
+++ b/files/en-us/web/css/filter-function/contrast()/index.html
@@ -53,17 +53,21 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- - {{cssxref("filter-function/blur", "blur()")}}
- - {{cssxref("filter-function/brightness", "brightness()")}}
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
- - {{cssxref("filter-function/invert", "invert()")}}
- - {{cssxref("filter-function/opacity", "opacity()")}}
- - {{cssxref("filter-function/saturate", "saturate()")}}
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
diff --git a/files/en-us/web/css/filter-function/drop-shadow()/index.html b/files/en-us/web/css/filter-function/drop-shadow()/index.html
index 6e9ede51d32a24e..3624c2ec4ae5c15 100644
--- a/files/en-us/web/css/filter-function/drop-shadow()/index.html
+++ b/files/en-us/web/css/filter-function/drop-shadow()/index.html
@@ -69,18 +69,22 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- CSS {{cssxref("box-shadow")}} property
- - {{cssxref("filter-function/blur", "blur()")}}
- - {{cssxref("filter-function/brightness", "brightness()")}}
- - {{cssxref("filter-function/contrast", "contrast()")}}
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
- - {{cssxref("filter-function/invert", "invert()")}}
- - {{cssxref("filter-function/opacity", "opacity()")}}
- - {{cssxref("filter-function/saturate", "saturate()")}}
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
diff --git a/files/en-us/web/css/filter-function/grayscale()/index.html b/files/en-us/web/css/filter-function/grayscale()/index.html
index 815531bd556de08..9bde6a4a9d3879e 100644
--- a/files/en-us/web/css/filter-function/grayscale()/index.html
+++ b/files/en-us/web/css/filter-function/grayscale()/index.html
@@ -50,17 +50,21 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- - {{cssxref("filter-function/blur", "blur()")}}
- - {{cssxref("filter-function/brightness", "brightness()")}}
- - {{cssxref("filter-function/contrast", "contrast()")}}
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
- - {{cssxref("filter-function/invert", "invert()")}}
- - {{cssxref("filter-function/opacity", "opacity()")}}
- - {{cssxref("filter-function/saturate", "saturate()")}}
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
diff --git a/files/en-us/web/css/filter-function/hue-rotate()/index.html b/files/en-us/web/css/filter-function/hue-rotate()/index.html
index aeb03a878184985..d5ccb10aee3c250 100644
--- a/files/en-us/web/css/filter-function/hue-rotate()/index.html
+++ b/files/en-us/web/css/filter-function/hue-rotate()/index.html
@@ -55,17 +55,21 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- - {{cssxref("filter-function/blur", "blur()")}}
- - {{cssxref("filter-function/brightness", "brightness()")}}
- - {{cssxref("filter-function/contrast", "contrast()")}}
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
- - {{cssxref("filter-function/invert", "invert()")}}
- - {{cssxref("filter-function/opacity", "opacity()")}}
- - {{cssxref("filter-function/saturate", "saturate()")}}
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
diff --git a/files/en-us/web/css/filter-function/index.html b/files/en-us/web/css/filter-function/index.html
index f1cee71b7f28177..f40abe3f64a6b37 100644
--- a/files/en-us/web/css/filter-function/index.html
+++ b/files/en-us/web/css/filter-function/index.html
@@ -18,25 +18,25 @@ Syntax
The <filter-function>
data type is specified using one of the filter functions listed below. Each function requires an argument which, if invalid, results in no filter being applied.
- - {{cssxref("filter-function/blur", "blur()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
- Blurs the image.
- - {{cssxref("filter-function/brightness", "brightness()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
- Makes the image brighter or darker.
- - {{cssxref("filter-function/contrast", "contrast()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
- Increases or decreases the image's contrast.
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
- Applies a drop shadow behind the image.
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
- Converts the image to grayscale.
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
- Changes the overall hue of the image.
- - {{cssxref("filter-function/invert", "invert()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
- Inverts the colors of the image.
- - {{cssxref("filter-function/opacity", "opacity()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
- Makes the image transparent.
- - {{cssxref("filter-function/saturate", "saturate()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
- Super-saturates or desaturates the input image.
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
- Converts the image to sepia.
@@ -202,6 +202,10 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
diff --git a/files/en-us/web/css/filter-function/invert()/index.html b/files/en-us/web/css/filter-function/invert()/index.html
index 1372679ec89a72c..686e74e54532f3d 100644
--- a/files/en-us/web/css/filter-function/invert()/index.html
+++ b/files/en-us/web/css/filter-function/invert()/index.html
@@ -52,17 +52,21 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- - {{cssxref("filter-function/blur", "blur()")}}
- - {{cssxref("filter-function/brightness", "brightness()")}}
- - {{cssxref("filter-function/contrast", "contrast()")}}
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
- - {{cssxref("filter-function/opacity", "opacity()")}}
- - {{cssxref("filter-function/saturate", "saturate()")}}
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
diff --git a/files/en-us/web/css/filter-function/opacity()/index.html b/files/en-us/web/css/filter-function/opacity()/index.html
index e493c26f56e159c..a0db4e4a7cba758 100644
--- a/files/en-us/web/css/filter-function/opacity()/index.html
+++ b/files/en-us/web/css/filter-function/opacity()/index.html
@@ -56,18 +56,22 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- CSS {{cssxref("opacity")}} property
- - {{cssxref("filter-function/blur", "blur()")}}
- - {{cssxref("filter-function/brightness", "brightness()")}}
- - {{cssxref("filter-function/contrast", "contrast()")}}
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
- - {{cssxref("filter-function/invert", "invert()")}}
- - {{cssxref("filter-function/saturate", "saturate()")}}
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
diff --git a/files/en-us/web/css/filter-function/saturate()/index.html b/files/en-us/web/css/filter-function/saturate()/index.html
index 86e3f61c97ec720..05e6a61f5edc0f4 100644
--- a/files/en-us/web/css/filter-function/saturate()/index.html
+++ b/files/en-us/web/css/filter-function/saturate()/index.html
@@ -51,17 +51,21 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- - {{cssxref("filter-function/blur", "blur()")}}
- - {{cssxref("filter-function/brightness", "brightness()")}}
- - {{cssxref("filter-function/contrast", "contrast()")}}
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
- - {{cssxref("filter-function/invert", "invert()")}}
- - {{cssxref("filter-function/opacity", "opacity()")}}
- - {{cssxref("filter-function/sepia", "sepia()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
+ - {{cssxref("filter-function/sepia()", "sepia()")}}
diff --git a/files/en-us/web/css/filter-function/sepia()/index.html b/files/en-us/web/css/filter-function/sepia()/index.html
index 7afa06251e27746..939bc500a5e41e1 100644
--- a/files/en-us/web/css/filter-function/sepia()/index.html
+++ b/files/en-us/web/css/filter-function/sepia()/index.html
@@ -52,17 +52,21 @@ Specifications
+Browser compatibility
+
+{{Compat("css.properties.filter")}}
+
See also
- {{cssxref("<filter-function>")}}
- - {{cssxref("filter-function/blur", "blur()")}}
- - {{cssxref("filter-function/brightness", "brightness()")}}
- - {{cssxref("filter-function/contrast", "contrast()")}}
- - {{cssxref("filter-function/drop-shadow", "drop-shadow()")}}
- - {{cssxref("filter-function/grayscale", "grayscale()")}}
- - {{cssxref("filter-function/hue-rotate", "hue-rotate()")}}
- - {{cssxref("filter-function/invert", "invert()")}}
- - {{cssxref("filter-function/opacity", "opacity()")}}
- - {{cssxref("filter-function/saturate", "saturate()")}}
+ - {{cssxref("filter-function/blur()", "blur()")}}
+ - {{cssxref("filter-function/brightness()", "brightness()")}}
+ - {{cssxref("filter-function/contrast()", "contrast()")}}
+ - {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}}
+ - {{cssxref("filter-function/grayscale()", "grayscale()")}}
+ - {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}}
+ - {{cssxref("filter-function/invert()", "invert()")}}
+ - {{cssxref("filter-function/opacity()", "opacity()")}}
+ - {{cssxref("filter-function/saturate()", "saturate()")}}
diff --git a/files/en-us/web/css/filter/index.html b/files/en-us/web/css/filter/index.html
index ba93f7b2043f72d..82012db8b3b8efa 100644
--- a/files/en-us/web/css/filter/index.html
+++ b/files/en-us/web/css/filter/index.html
@@ -60,7 +60,7 @@ Syntax
Interpolation
-If both the beginning and end filters have a function list of the same length without {{cssxref("<url>")}}, each of their filter functions is interpolated according to its specific rules. If they have different lengths, the missing equivalent filter functions from the longer list are added to the end of the shorter list using their lacuna values, then all filter functions are interpolated according to their specific rules. If one filter is none
, it is replaced with the filter functions list of the other one using the filter function default values, then all filter functions are interpolated according to their specific rules. Otherwise, discrete interpolation is used.
+If both the beginning and end filters have a function list of the same length without {{cssxref("url()","url()")}}, each of their filter functions is interpolated according to its specific rules. If they have different lengths, the missing equivalent filter functions from the longer list are added to the end of the shorter list using their lacuna values, then all filter functions are interpolated according to their specific rules. If one filter is none
, it is replaced with the filter functions list of the other one using the filter function default values, then all filter functions are interpolated according to their specific rules. Otherwise, discrete interpolation is used.
Functions
@@ -81,7 +81,7 @@ Filter functions
blur()
-The {{cssxref("filter-function/blur", "blur()")}} fucntion applies a Gaussian blur to the input image. The value of radius
defines the value of the standard deviation to the Gaussian function, or how many pixels on the screen blend into each other, so a larger value will create more blur. The lacuna value for interpolation is 0
. The parameter is specified as a CSS length, but does not accept percentage values.
+The {{cssxref("filter-function/blur()", "blur()")}} function applies a Gaussian blur to the input image. The value of radius
defines the value of the standard deviation to the Gaussian function, or how many pixels on the screen blend into each other, so a larger value will create more blur. The lacuna value for interpolation is 0
. The parameter is specified as a CSS length, but does not accept percentage values.
filter: blur(5px)
@@ -169,7 +169,7 @@ blur()
brightness()
-The {{cssxref("filter-function/brightness", "brightness()")}} function applies a linear multiplier to the input image, making it appear more or less bright. A value of 0%
will create an image that is completely black. A value of 100%
leaves the input unchanged. Other values are linear multipliers on the effect. Values of an amount over 100%
are allowed, providing brighter results. The lacuna value for interpolation is 1
.
+The {{cssxref("filter-function/brightness()", "brightness()")}} function applies a linear multiplier to the input image, making it appear more or less bright. A value of 0%
will create an image that is completely black. A value of 100%
leaves the input unchanged. Other values are linear multipliers on the effect. Values of an amount over 100%
are allowed, providing brighter results. The lacuna value for interpolation is 1
.
filter: brightness(2)
@@ -262,7 +262,7 @@ brightness()
contrast()
-The {{cssxref("filter-function/contrast", "contrast()")}} function adjusts the contrast of the input image. A value of 0%
will create an image that is completely gray. A value of 100%
leaves the input unchanged. Values of an amount over 100%
are allowed, providing results with more contrast. The lacuna value for interpolation is 1
.
+The {{cssxref("filter-function/contrast()", "contrast()")}} function adjusts the contrast of the input image. A value of 0%
will create an image that is completely gray. A value of 100%
leaves the input unchanged. Values of an amount over 100%
are allowed, providing results with more contrast. The lacuna value for interpolation is 1
.
filter: contrast(200%)
@@ -357,7 +357,7 @@ contrast()
drop-shadow()
-The {{cssxref("filter-function/drop-shadow", "drop-shadow()")}} function applies a drop shadow effect to the input image. A drop shadow is effectively a blurred, offset version of the input image's alpha mask drawn in a particular color, composited below the image. The function accepts a parameter of type <shadow>
(defined in CSS3 Backgrounds), with the exception that the inset
keyword and spread
parameter are not allowed. This function is similar to the more established {{cssxref("box-shadow")}} property; the difference is that with filters, some browsers provide hardware acceleration for better performance. The parameters of the <shadow>
parameter are as follows:
+The {{cssxref("filter-function/drop-shadow()", "drop-shadow()")}} function applies a drop shadow effect to the input image. A drop shadow is effectively a blurred, offset version of the input image's alpha mask drawn in a particular color, composited below the image. The function accepts a parameter of type <shadow>
(defined in CSS3 Backgrounds), with the exception that the inset
keyword and spread
parameter are not allowed. This function is similar to the more established {{cssxref("box-shadow")}} property; the difference is that with filters, some browsers provide hardware acceleration for better performance. The parameters of the <shadow>
parameter are as follows:
<offset-x>
<offset-y>
(required)
@@ -505,7 +505,7 @@ drop-shadow()
grayscale()
-The {{cssxref("filter-function/grayscale", "grayscale()")}} function converts the input image to grayscale. The value of amount
defines the proportion of the conversion. A value of 100%
is completely grayscale. A value of 0%
leaves the input unchanged. Values between 0%
and 100%
are linear multipliers on the effect. The lacuna value for interpolation is 0
.
+The {{cssxref("filter-function/grayscale()", "grayscale()")}} function converts the input image to grayscale. The value of amount
defines the proportion of the conversion. A value of 100%
is completely grayscale. A value of 0%
leaves the input unchanged. Values between 0%
and 100%
are linear multipliers on the effect. The lacuna value for interpolation is 0
.
filter: grayscale(100%)
@@ -588,7 +588,7 @@ grayscale()
hue-rotate()
-The {{cssxref("filter-function/hue-rotate", "hue-rotate()")}} function applies a hue rotation on the input image. The value of angle
defines the number of degrees around the color circle the input samples will be adjusted. A value of 0deg
leaves the input unchanged. The lacuna value for interpolation is 0
. Though there is no maximum value; the effect of values above 360deg
wraps around.
+The {{cssxref("filter-function/hue-rotate()", "hue-rotate()")}} function applies a hue rotation on the input image. The value of angle
defines the number of degrees around the color circle the input samples will be adjusted. A value of 0deg
leaves the input unchanged. The lacuna value for interpolation is 0
. Though there is no maximum value; the effect of values above 360deg
wraps around.
filter: hue-rotate(90deg)
@@ -674,7 +674,7 @@ hue-rotate()
invert()
-The {{cssxref("filter-function/invert", "invert()")}} function inverts the samples in the input image. The value of amount
defines the proportion of the conversion. A value of 100%
is completely inverted. A value of 0%
leaves the input unchanged. Values between 0%
and 100%
are linear multipliers on the effect. The lacuna value for interpolation is 0
.
+The {{cssxref("filter-function/invert()", "invert()")}} function inverts the samples in the input image. The value of amount
defines the proportion of the conversion. A value of 100%
is completely inverted. A value of 0%
leaves the input unchanged. Values between 0%
and 100%
are linear multipliers on the effect. The lacuna value for interpolation is 0
.
filter: invert(100%)
@@ -757,7 +757,7 @@ invert()
opacity()
-The {{cssxref("filter-function/opacity", "opacity()")}} function applies transparency to the samples in the input image. The value of amount
defines the proportion of the conversion. A value of 0%
is completely transparent. A value of 100%
leaves the input unchanged. Values between 0%
and 100%
are linear multipliers on the effect. This is equivalent to multiplying the input image samples by amount. The lacuna value for interpolation is 1
. This function is similar to the more established {{cssxref("opacity")}} property; the difference is that with filters, some browsers provide hardware acceleration for better performance.
+The {{cssxref("filter-function/opacity()", "opacity()")}} function applies transparency to the samples in the input image. The value of amount
defines the proportion of the conversion. A value of 0%
is completely transparent. A value of 100%
leaves the input unchanged. Values between 0%
and 100%
are linear multipliers on the effect. This is equivalent to multiplying the input image samples by amount. The lacuna value for interpolation is 1
. This function is similar to the more established {{cssxref("opacity")}} property; the difference is that with filters, some browsers provide hardware acceleration for better performance.
filter: opacity(50%)
@@ -838,7 +838,7 @@ opacity()
saturate()
-The {{cssxref("filter-function/saturate", "saturate()")}} function saturates the input image. The value of amount
defines the proportion of the conversion. A value of 0%
is completely un-saturated. A value of 100%
leaves the input unchanged. Other values are linear multipliers on the effect. Values of amount over 100%
are allowed, providing super-saturated results. The lacuna value for interpolation is 1
.
+The {{cssxref("filter-function/saturate()", "saturate()")}} function saturates the input image. The value of amount
defines the proportion of the conversion. A value of 0%
is completely un-saturated. A value of 100%
leaves the input unchanged. Other values are linear multipliers on the effect. Values of amount over 100%
are allowed, providing super-saturated results. The lacuna value for interpolation is 1
.
filter: saturate(200%)
@@ -918,7 +918,7 @@ saturate()
sepia()
-The {{cssxref("filter-function/sepia", "sepia()")}} function converts the input image to sepia. The value of amount
defines the proportion of the conversion. A value of 100%
is completely sepia. A value of 0%
leaves the input unchanged. Values between 0%
and 100%
are linear multipliers on the effect. The lacuna value for interpolation is 0
.
+The {{cssxref("filter-function/sepia()", "sepia()")}} function converts the input image to sepia. The value of amount
defines the proportion of the conversion. A value of 100%
is completely sepia. A value of 0%
leaves the input unchanged. Values between 0%
and 100%
are linear multipliers on the effect. The lacuna value for interpolation is 0
.
filter: sepia(100%)