CSS Subgrid Layout Builder - Online Align Nested Grids
Design a layout where nested grids share track sizes with their parent via subgrid. Copy the complete CSS.
UD5 Toolkit
Online Colorful Text Cursors — type below and see your custom caret color in action
The blinking vertical line (caret) uses caret-color. Select a color on the right panel.
White bg · dark text · custom caret
Dark bg · light text · custom caret
Multi-line · same caret-color applies
Rich text · caret-color still works
Paste this into your stylesheet. Works in all modern browsers (Chrome 57+, Firefox 53+, Safari 11+, Edge 79+).
caret-color in CSS?
caret-color is a CSS property that sets the color of the text input cursor — the blinking vertical line (called a "caret") that appears inside <input>, <textarea>, and any element with contenteditable="true". It lets you customize the cursor color independently from the text color, which is great for branding, accessibility, and dark-mode designs.
caret-color different from the color property?
By default, browsers use the element's color value as the caret color. Setting caret-color overrides this, allowing the caret to be a different color than the text. For example, you can have dark text but a bright blue caret — making it easier to spot in long forms. If caret-color is set to auto (the default), the caret inherits the text color.
caret-color support gradients or animations?
No. The caret-color property only accepts solid color values (hex, rgb, hsl, named colors, or transparent). Gradients, conic gradients, and CSS animations are not supported for the native caret. If you need an animated or gradient cursor effect, you would need to build a custom fake caret using a <div> with JavaScript to track cursor position — but this is complex and not recommended for accessibility.
caret-color: transparent?
Yes! Setting caret-color: transparent makes the blinking caret invisible while the element remains editable. This is sometimes used for sleek search bars or password-like fields where you want a clean look. However, use it cautiously — hiding the caret can harm accessibility and confuse users who rely on it to know where they're typing.
caret-color?
caret-color is widely supported: Chrome 57+, Firefox 53+, Safari 11+ (including iOS Safari), and Edge 79+. It's safe to use in production. For older browsers, the caret simply falls back to the default text color — no layout breakage occurs.
caret-color affect the mouse cursor?
No. The caret (text cursor) and the mouse cursor (pointer) are two entirely different things. The caret-color property only controls the blinking text insertion indicator. To change the mouse cursor, use the cursor CSS property (e.g., cursor: pointer;).
If your caret color is dark (like black or navy) and your input has a dark background, there won't be enough contrast. Always test your caret-color against the background. A good rule of thumb: for dark backgrounds, use bright caret colors (white, cyan, yellow, light blue); for light backgrounds, darker colors work well. Our tool above shows contrast indicators to help you choose wisely.
caret-color with ::selection or other pseudo-elements?
caret-color is a standalone property and does not interact directly with ::selection (which styles selected text highlights) or ::placeholder. However, you can combine them for a fully customized input experience — for example, a blue caret, a yellow selection highlight, and a gray placeholder, all in the same input field.
Design a layout where nested grids share track sizes with their parent via subgrid. Copy the complete CSS.
Create a pure CSS scroll progress indicator using animation‑timeline: scroll(). No JavaScript. Copy the complete code.
Paste your CSS and see warnings for properties that have limited browser support. Links to CanIUse. Modernize safely.
Query the permission state of camera, microphone, geolocation, and more. See the response and learn the API.
Limit browser gestures on an element: pan‑x, pinch‑zoom, manipulation. Draw on a canvas to test. Mobile dev helper.
Acquire and release locks across tabs. Prevent race conditions in IndexedDB or localStorage. Visual queue and lock state.
Test the Fullscreen API: request fullscreen on a colored div, detect changes, and copy the JavaScript boilerplate.
Create complex linear gradients with any number of color stops, exact angles, and length units. Live preview and CSS code.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
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.
Generate a subtle noise/grain texture as a CSS background pattern. Adjust opacity and size. For that film look.
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.
Add print styles like removing backgrounds, adding page breaks, setting margins. See print preview instantly.
Create a pure CSS countdown timer with a flipping number effect. Adjust duration and style. No JavaScript needed for display.
Create a glowing or rotating border animation around an element. Copy the CSS keyframes. Pure CSS magic.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Design a realistic neon sign text with multiple layers of glow. Copy the CSS and HTML. Perfect for headers.
A replica of the famous Flexbox Froggy game: solve alignment puzzles by writing CSS. Progress saved locally. Fun frontend learning.
Fetch a website's CSS and extract :root custom properties (‑‑color) to reveal its design token palette. For learning and inspiration.
Find safe mixing ratios for the classic elephant toothpaste demonstration. Volume adjustments for different container sizes.
Recreate the target CSS linear gradient by adjusting stops and colors. A unique game for front‑end developers to master gradients.
Browse and search all Font Awesome 6 icons with preview, class name, and unicode. Copy the HTML snippet. Perfect for web developers.
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.
Minify JavaScript and CSS code to reduce file size for production. Remove whitespace and comments instantly. Run locally, your code stays private.
Easily create asymmetric border radius values and preview the result. Copy the generated CSS instantly. All interactively and browser-based.
Beautify and format your CSS stylesheets instantly. Organize, minify, or prettify CSS code for better readability. Processed securely on client-side.