Rainbow Text Generator - Online Colorful Animated CSS
Create a rainbow gradient text animation using pure CSS. Customize speed and colors. Copy the code for your website.
UD5 Toolkit
Pit two CSS selectors against each other — see which one packs more weight
| Specificity Level | Challenger | VS | Opponent |
|---|---|---|---|
| a — Inline | 0 | a | 0 |
| b — ID | — | b | — |
| c — Class / Attr / Pseudo-class | — | c | — |
| d — Element / Pseudo-element | — | d | — |
| Total Score | — | 🏆 | — |
Quick Preset Battles — click to load:
!important is involved). Understanding specificity is essential for debugging styling conflicts and writing maintainable CSS.
style="..."). Always 1 if inline, 0 otherwise.#header)..btn), attribute selectors ([type="text"]), and pseudo-classes (:hover, :nth-child()).div, p) and pseudo-elements (::before, ::after).#example) has specificity (0,1,0,0), while a class selector (.example) has (0,0,1,0). The ID always wins because the b level is compared first. In fact, a single ID outweighs any number of classes, attributes, or pseudo-classes combined.
* adds zero specificity — it contributes (0,0,0,0). It's often used for CSS resets or global styles precisely because it's so easy to override. Similarly, combinators like >, +, ~, and the descendant space add no specificity.
:not() — The negation pseudo-class itself adds no specificity, but selectors inside the parentheses are counted normally. :not(.foo) contributes (0,0,1,0).:is() — Takes the specificity of its most specific argument. :is(#a, .b, div) has specificity (0,1,0,0).:where() — Always has zero specificity regardless of its arguments. Great for writing low-specificity base styles.:has() — Behaves like :is(), taking the highest specificity among its arguments.!important doesn't change specificity — it bypasses the normal cascade entirely. An !important declaration wins over any normal declaration, regardless of specificity. When two !important rules conflict, specificity (and then source order) determines the winner. Overusing !important is widely considered bad practice as it makes CSS harder to debug and maintain.
.page .content .sidebar .widget h3.!important for utility overrides only (e.g., .d-none).:where() for base styles that should be easily overridable.Create a rainbow gradient text animation using pure CSS. Customize speed and colors. Copy the code for your website.
Design a glitchy text animation with adjustable color shifts and clipping. Copy the pure CSS code. No JavaScript.
Fill in a name and template to generate a complete Web Component class with shadow DOM. Start your library.
The original arcade Pong recreated in HTML5. Play against AI or local two‑player. Score up to 11 and win. Pure retro fun.
Re‑order words to sound like Master Yoda. Not perfect, but amusing, this tool is. Local and quick.
Generate magic squares of odd order (3x3, 5x5, …). See the sum constant and verify rows, columns, diagonals. Educational math toy.
Visually configure scroll‑snap containers and items. Adjust alignment, stop behavior, and padding. Copy the clean CSS instantly.
Create complex linear gradients with any number of color stops, exact angles, and length units. Live preview and CSS code.
Design a light and dark theme by picking colors for backgrounds, text, and links. Get the CSS for both themes. Local.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Adjust opacity visually with a slider and see the different CSS representations (opacity property vs RGBA/HSLA). Copy best option.
Pick two images or colors and apply all 16 CSS mix‑blend‑mode values live. See and copy the right CSS for your design.
Design a fully styled scrollbar with colors, width, radius, and hover effects. Supports both ::-webkit‑scrollbar and Firefox scrollbar‑width.
Design a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Paste your CSS and sort the properties of each rule alphabetically or by concentric groups. Keep your stylesheets consistent without a build step.
Create a customizable checkerboard or grid background using pure CSS gradients. Adjust cell size and colors. Copy the code.
Upload two images and apply CSS blend modes (multiply, screen, overlay, etc.). See the result and copy the filter CSS. Pure frontend.
Paste HTML/CSS snippets or enter properties to test how z‑index and stacking contexts interact. Real‑time example.
Adjust margin, border, padding, and content sizes interactively and see the rendered box model. Get the exact CSS. Teach or learn layout.
Create a glowing or rotating border animation around an element. Copy the CSS keyframes. Pure CSS magic.
Design a pure CSS tooltip with custom text, position (top/bottom/left/right), and arrow. Copy the clean code.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Pick an emoji and get the exact CSS content property value with escaped Unicode. For inserting emojis via CSS.
Paste two versions of the same idea and see a word‑level diff highlighting the rewrite. Not AI, just diff.
Fetch a website's CSS and extract :root custom properties (‑‑color) to reveal its design token palette. For learning and inspiration.
Recreate the target CSS linear gradient by adjusting stops and colors. A unique game for front‑end developers to master gradients.
Create text with a gradient fill using CSS background-clip. Configure colors and direction. Copy the code. Works in modern browsers.
A complete, searchable list of all 140+ named HTML/CSS colors with their hex codes and color previews. Click to copy code. Essential web reference.
Visually experiment with Flexbox container and item properties. See the layout update in real time and copy the CSS. Learn by doing, fully interactive.