Utility families

Filters

Blur, brightness, contrast and saturation, on the element or on what lies behind it. Filters compose with each other.

blur

blur:
Class CSS properties
blur: --jx-blur
  • Keywords: none sm md lg xl 2xl 3xl
  • Arbitrary values: yes, in brackets
blur:none
.blur\:none {
  --jx-blur: blur(0);
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-blur {
  syntax: "*";
  inherits: false;
}
blur:50
.blur\:50 {
  --jx-blur: blur(50px);
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-blur {
  syntax: "*";
  inherits: false;
}

brightness

bri:
Class CSS properties
bri: --jx-brightness
  • Arbitrary values: yes, in brackets
bri:50
.bri\:50 {
  --jx-brightness: brightness(0.5);
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-brightness {
  syntax: "*";
  inherits: false;
}

contrast

con:
Class CSS properties
con: --jx-contrast
  • Arbitrary values: yes, in brackets
con:50
.con\:50 {
  --jx-contrast: contrast(0.5);
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-contrast {
  syntax: "*";
  inherits: false;
}

grayscale

gs:
Class CSS properties
gs: --jx-grayscale
  • Arbitrary values: yes, in brackets
gs:50
.gs\:50 {
  --jx-grayscale: grayscale(0.5);
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-grayscale {
  syntax: "*";
  inherits: false;
}

hue-rotate

hue:
Class CSS properties
hue: --jx-hue-rotate
  • Arbitrary values: yes, in brackets
  • Negative values: yes
hue:50
.hue\:50 {
  --jx-hue-rotate: hue-rotate(50deg);
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-hue-rotate {
  syntax: "*";
  inherits: false;
}

saturate

sat:
Class CSS properties
sat: --jx-saturate
  • Arbitrary values: yes, in brackets
sat:50
.sat\:50 {
  --jx-saturate: saturate(0.5);
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-saturate {
  syntax: "*";
  inherits: false;
}

drop-shadow

dsh:
Class CSS properties
dsh: --jx-drop-shadow
  • Keywords: sm md lg xl none
  • Arbitrary values: yes, in brackets
dsh:sm
.dsh\:sm {
  --jx-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-drop-shadow {
  syntax: "*";
  inherits: false;
}

filter-standalone

grayscale invert sepia filter-none
Class Declarations
grayscale --jx-grayscale: grayscale(1); filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,)
invert --jx-invert: invert(1); filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,)
sepia --jx-sepia: sepia(1); filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,)
filter-none filter: none
grayscale
.grayscale {
  --jx-grayscale: grayscale(1);
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-grayscale {
  syntax: "*";
  inherits: false;
}
invert
.invert {
  --jx-invert: invert(1);
  filter: var(--jx-blur,) var(--jx-brightness,) var(--jx-contrast,) var(--jx-grayscale,) var(--jx-hue-rotate,) var(--jx-invert,) var(--jx-saturate,) var(--jx-sepia,) var(--jx-drop-shadow,);
}

@property --jx-invert {
  syntax: "*";
  inherits: false;
}

backdrop-blur

bblur:
Class CSS properties
bblur: --jx-bd-blur
  • Keywords: none sm md lg xl 2xl 3xl
  • Arbitrary values: yes, in brackets
bblur:none
.bblur\:none {
  --jx-bd-blur: blur(0);
  -webkit-backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
  backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
}

@property --jx-bd-blur {
  syntax: "*";
  inherits: false;
}
bblur:50
.bblur\:50 {
  --jx-bd-blur: blur(50px);
  -webkit-backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
  backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
}

@property --jx-bd-blur {
  syntax: "*";
  inherits: false;
}

backdrop-brightness

bbri:
Class CSS properties
bbri: --jx-bd-brightness
  • Arbitrary values: yes, in brackets
bbri:50
.bbri\:50 {
  --jx-bd-brightness: brightness(0.5);
  -webkit-backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
  backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
}

@property --jx-bd-brightness {
  syntax: "*";
  inherits: false;
}

backdrop-contrast

bcon:
Class CSS properties
bcon: --jx-bd-contrast
  • Arbitrary values: yes, in brackets
bcon:50
.bcon\:50 {
  --jx-bd-contrast: contrast(0.5);
  -webkit-backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
  backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
}

@property --jx-bd-contrast {
  syntax: "*";
  inherits: false;
}

backdrop-grayscale

bgray:
Class CSS properties
bgray: --jx-bd-grayscale
  • Arbitrary values: yes, in brackets
bgray:50
.bgray\:50 {
  --jx-bd-grayscale: grayscale(0.5);
  -webkit-backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
  backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
}

@property --jx-bd-grayscale {
  syntax: "*";
  inherits: false;
}

backdrop-saturate

bsat:
Class CSS properties
bsat: --jx-bd-saturate
  • Arbitrary values: yes, in brackets
bsat:50
.bsat\:50 {
  --jx-bd-saturate: saturate(0.5);
  -webkit-backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
  backdrop-filter: var(--jx-bd-blur,) var(--jx-bd-brightness,) var(--jx-bd-contrast,) var(--jx-bd-grayscale,) var(--jx-bd-saturate,);
}

@property --jx-bd-saturate {
  syntax: "*";
  inherits: false;
}