diff --git a/submissions/examples/ease-text-glitch-effect/README.md b/submissions/examples/ease-text-glitch-effect/README.md new file mode 100644 index 00000000..3074064b --- /dev/null +++ b/submissions/examples/ease-text-glitch-effect/README.md @@ -0,0 +1,66 @@ +# Modern CSS Text Glitch Effect Component + +A high-performance, lightweight digital glitch and chromatic aberration effect built entirely with pure HTML and CSS. It supports three distinct variants: a periodic display headline, an interactive hover-triggered button, and a continuous micro-vibrating terminal status bar. + +--- + +## 1. What does this do? +This component simulates digital screen interference, signal failure, and chromatic aberration (cyan/magenta color displacement). It features: +- **Zero JavaScript**: Animates clip-paths, translations, and colors using pure CSS keyframes. +- **Burst-Style Loop (Dormant Periods)**: Unlike common glitches that flicker non-stop, the main display text remains static and 100% readable for 85% of the loop cycle. It glitch-flickers only in brief, high-impact bursts, maintaining readability. +- **Hover Trigger Mode**: Triggers a rapid visual distortion and offset aberration only when the cursor hovers over buttons or links, providing interactive tactile feedback. +- **Low-Intensity Micro-Glitch**: A continuous, low-amplitude glitch suitable for dashboard indicators, monospaced logs, and HUD overlays. +- **Adaptive Theme Support**: Automatically adapts to light and dark themes using built-in CSS variables. + +--- + +## 2. How is it used? + +### Layout A: Periodic Burst Glitch Headline +Place the target word inside an element with `.ease-glitch-title` and duplicate it in the `data-text` attribute. This attribute is read by the CSS pseudo-elements (`::before` and `::after`) to align the cyan and magenta layers: + +```html +
A CSS-only, high-performance digital glitch and chromatic aberration effect. Features realistic periodic bursts, interactive hover glitches, and scanlines without JavaScript.
+