filter: | |
---|---|
none; | filter-function-list np. blur(1px); |
Lorem | Lorem |
filter-function-list = [ filter-function | url ]+ filter-function = blur() | brightness() | contrast() | drop-shadow() | grayscale() | hue-rotate() | invert() | opacity() | sepia() | saturate()
filter: blur(length) |
---|
np. blur(1px); |
Lorem |
filter: blur(number | percentage) | |
---|---|
np. brightness(0.4); | np. brightness(60%); |
Lorem | Lorem |
filter: blur(number | percentage) | |
---|---|
np. contrast(1.1); | np. contrast(120%); |
filter: drop-shadow(length{2,3} color?) | |
---|---|
np. drop-shadow(2px 2px red); | np. drop-shadow(2px 2px 1px silver); |
Lorem | Lorem |
filter: grayscale(number | percentage) | |
---|---|
np. grayscale(0.5); | np. grayscale(90%); |
filter: hue-rotate(angle) |
---|
np. hue-rotate(180deg); |
Lorem |
filter: invert(number | percentage) | |
---|---|
np. invert(0.1); | np. invert(90%); |
filter: opacity(number | percentage) | |
---|---|
np. opacity(0.1); | np. opacity(90%); |
filter: saturate(number | percentage) | |
---|---|
np. saturate(0.1); | np. saturate(90%); |
filter: sepia(number | percentage) | |
---|---|
np. sepia(0.1); | np. sepia(90%); |
filter: url(nazwa_pliku.svg#id_filtra) | |
---|---|
GaussianBlur | Turbulence |
Lorem | Lorem |
Uwagi:
Linki: Morphology.svg GaussianBlur.svg