text‑spacing CSS Demo - Online trim‑start & space‑first
New CSS text‑spacing property for fine control over punctuation spacing. See the effect live. For advanced typography.
UD5 Toolkit
Interactive demo of hyphens: auto, manual, and none — live preview with adjustable container width.
lang attribute).­) exist. No soft hyphen = no break.hyphens CSS property controls how words are hyphenated when text wraps across multiple lines. It accepts three values: auto (browser automatically inserts hyphens based on language rules), manual (hyphenation only occurs at explicitly defined soft hyphen characters ­), and none (no hyphenation at all, words may overflow). It's particularly useful for justified text or narrow columns where long words need to be broken gracefully.
auto lets the browser decide where to insert hyphens using language-specific hyphenation dictionaries. It requires the lang attribute to be set correctly on the element. The browser finds optimal break points within words automatically.manual only breaks words where you've explicitly placed soft hyphen characters (­ or Unicode \u00AD). If no soft hyphens exist in a word, it won't break at all — even if it overflows. This gives you precise control but requires manual markup.
hyphens: auto when you have narrow text columns (like sidebars, cards, or mobile layouts), justified text alignment, or content with long words that would otherwise create awkward gaps or overflow. It's especially valuable for multi-language sites where you can set the lang attribute dynamically. Common use cases include newspaper-style layouts, multilingual dashboards, and responsive designs where container widths vary significantly across devices.
lang attribute is crucial for hyphens: auto because hyphenation rules vary significantly between languages. For example, English hyphenation follows different patterns than German or French. Without a proper lang attribute (or with lang=""), the browser may use a default or fallback hyphenation dictionary, which might produce incorrect or suboptimal breaks. Always set lang on the hyphenated element or its ancestor. Our tester lets you switch languages to see how hyphenation behavior changes.
­ in HTML or \u00AD in Unicode) is an invisible character that marks a potential break point within a word. When hyphens: manual is set, the browser breaks the word only at these soft hyphen positions, displaying a visible hyphen at the break. If the word doesn't need to break (fits on one line), the soft hyphen remains invisible. You can insert them manually in HTML source code, via JavaScript using \u00AD, or through CMS plugins. Our tool includes an "Insert ­" button to add them at the cursor position in the text area.
hyphens property is supported in all modern browsers including Chrome (88+), Firefox (43+), Safari (5.1+ with -webkit-hyphens), and Edge (12+). However, hyphens: auto behavior varies: Chrome requires the lang attribute and may not hyphenate English as aggressively as Firefox. Safari has good support via the -webkit-hyphens prefix. For production, always include vendor prefixes: -webkit-hyphens, -ms-hyphens, and the standard hyphens. Mobile browsers generally have excellent support. Always test across your target browsers.
hyphens works independently but can interact with other text-breaking properties. word-break: break-all forcibly breaks words at any character (without hyphens), which may override hyphens. overflow-wrap: break-word (or word-wrap: break-word) breaks words only when they would overflow, also without inserting hyphens. For clean hyphenation, keep word-break: normal and overflow-wrap: normal (the defaults), and rely solely on the hyphens property. This ensures hyphens appear only at linguistically correct positions.
New CSS text‑spacing property for fine control over punctuation spacing. See the effect live. For advanced typography.
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.
Limit browser gestures on an element: pan‑x, pinch‑zoom, manipulation. Draw on a canvas to test. Mobile dev helper.
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.
Generate a random HTML/CSS card with different box model properties. Inspect and guess the size. For learners.
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.
Generate a subtle noise/grain texture as a CSS background pattern. Adjust opacity and size. For that film look.
Paste text and align it left, center, right, or fully justify by inserting spaces. Simple formatting helper. Pure browser.
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.
Paste HTML/CSS snippets or enter properties to test how z‑index and stacking contexts interact. Real‑time example.
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.
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.