CSS Variable Theme Builder - Online Light & Dark Mode
Define a set of colors for light and dark themes. Get the CSS custom properties snippet. Toggle live.
UD5 Toolkit
filter: drop-shadow(8px 12px 16px rgba(15, 23, 42, 0.28));
drop-shadow(8px 12px 16px rgba(...))
box-shadow: 8px 12px 16px 4px rgba(...)
text-shadow: 8px 12px 16px rgba(...)
filter function that follows the alpha channel (actual shape) of an element — including clip-path, transparent PNG areas, and SVG contours. box-shadow applies to the element's rectangular border box (though it respects border-radius). Use drop-shadow for irregular shapes, images with transparency, and SVG icons. Use box-shadow for standard rectangular containers.
offset-x offset-y blur-radius color. The spread-radius parameter is exclusive to box-shadow. If you need to expand or contract the shadow area, box-shadow is your only option among these three.
drop-shadow() functions within the same filter property, separated by spaces (not commas). Example: filter: drop-shadow(2px 2px 4px #000) drop-shadow(-2px -2px 4px #fff); For box-shadow and text-shadow, use commas to separate multiple shadows.
offset-x offset-y blur-radius color, similar to drop-shadow(). Neither supports spread-radius — only box-shadow does.
filter: drop-shadow() is supported in all modern browsers — Chrome 18+, Firefox 35+, Safari 6+, Edge 79+. It's safe to use in production. For IE11, it's not supported, but IE11 usage is negligible today.
filter is an animatable CSS property, you can transition drop-shadow() smoothly. Example: transition: filter 0.3s ease; This works great for hover effects. Note that animating box-shadow has better performance in some browsers due to GPU compositing differences.
Define a set of colors for light and dark themes. Get the CSS custom properties snippet. Toggle live.
Style the first letter of a paragraph as a large decorative drop cap. Choose font, color, and size. Get the CSS & HTML.
Create vertically oriented text layouts with `writing‑mode`. See the effect and copy the complete CSS. For vertical languages.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Create seamless CSS background patterns like stripes, polka dots, checkerboard. Adjust size and colors. Copy the tiny CSS.
Create outlined text with the text‑stroke property. Adjust width and color. Preview and copy the CSS.
Visually name grid areas in a table and generate grid‑template‑areas CSS. Perfect for complex layouts. Drag‑free.
Build a complete font‑stack for your website. Choose a primary font and get the best fallback options for different OS. Copy the CSS.
Paste your full CSS and HTML; automatically identify and extract the styles needed for the visible part. Reduce render‑blocking resources.
Visually create the glassmorphism effect: background blur, transparency, and border. Copy the complete CSS. Modern UI design.
Create glowing, neon‑style text effects with multiple text‑shadows. Adjust colors and intensity. Copy the CSS.
Create a 5‑star rating widget using only HTML and CSS. Customize colors and size. Copy the clean code.
Toggle between light and dark mode for a demo page. See how to use the media query. Copy the pattern.
Create a rainbow gradient text animation using pure CSS. Customize speed and colors. Copy the code for your website.
Style a drop cap using the initial‑letter property. Set size and sink. Modern alternative to pseudo‑element hacks.
Style a drop cap using the initial‑letter property. Set size and sink. Modern alternative to pseudo‑element hacks.
New CSS text‑spacing property for fine control over punctuation spacing. See the effect live. For advanced typography.
Use CSS masks and fixed backgrounds to create a unique parallax reveal effect. Copy the code. No JavaScript.
Paste your CSS and sort the properties of each rule alphabetically or by concentric groups. Keep your stylesheets consistent without a build step.
Select emojis and arrange them into a seamless tiling background. Copy the CSS data‑URI or download as image.
See the difference between :focus and :focus‑visible on interactive elements. Learn which to use for better UX.
Stack multiple background images and blend them with colors. Create unique textures. Copy the CSS code instantly.
See how grid-auto-flow: row vs column changes item placement. Add and remove items to understand the algorithm. Visual.
See the difference between clone and slice on inline boxes that break across lines. Useful for multi‑line headings.
Apply content‑visibility: auto to off‑screen sections and see the rendering cost drop. Demos for infinite scroll optimization.
Toggle scroll‑behavior: smooth and click anchor links to see the scrolling animation. Implement modern UX.
Resize the container and see the difference between repeat(auto‑fill, …) and auto‑fit. Understand responsive grid behavior.
Beautify and format your CSS stylesheets instantly. Organize, minify, or prettify CSS code for better readability. Processed securely on client-side.
Design a realistic neon sign text with multiple layers of glow. Copy the CSS and HTML. Perfect for headers.
Toggle scrollbar‑gutter: stable to reserve space for the scrollbar and avoid content jumps. Visual demo with two columns.