Binary Code Matrix

0 viewsmedium
Background:
Binary Code Matrix
1
Was this helpful?

What is inside Binary Code Matrix

Binary Code Matrix is a CSS checkbox built with a keyframe animation, layered shadows, defined in 119 lines across 28 selectors.

26
CSS properties
28
Selectors
119
Lines of CSS
2
Formats

Techniques used

Keyframe animationTransitionsShadowsChecked stateFlexbox

Animations defined: matrix-glowbinary-cascade

CSS properties in this component

align-itemsanimationanimation-delaybackgroundborder-radiusbottombox-shadowcolorcursordisplayfont-familyfont-sizefont-weightgapheightinputjustify-contentleftopacityoverflowpositionrighttoptransitionuser-selectwidth

Accessibility check2 to fix

  • No focus style is defined. Add one before shipping, or keyboard users lose track of position.
  • Animates without a prefers-reduced-motion guard. Wrap the animation in that query if motion sensitivity matters to your audience.

These notes are generated by reading this component's own source, so they describe what it actually does rather than what a template says. Copy the code above in CSS, Tailwind and adapt it freely.