CSS Blend Mode Playground – Online background-blend-mode & mix-blend-mode
Load images or use colors and apply all 15 CSS blend modes. Visual tester for creative effects.
UD5 Toolkit
| Logical Property | Maps To | Example |
|---|---|---|
| block-start | top | margin-block-start → margin-top |
| inline-end | right | padding-inline-end → padding-right |
| block-end | bottom | border-block-end → border-bottom |
| inline-start | left | margin-inline-start → margin-left |
| inline-size | width | inline-size → width |
| block-size | height | block-size → height |
block-start, inline-end, block-size, and inline-size. This allows layouts to automatically adapt when switching between LTR/RTL languages or vertical writing modes (like Japanese or Mongolian), without rewriting CSS rules.
[dir="rtl"] overrides scattered throughout your stylesheets. (4) Future-proofing—the web is increasingly multilingual, and logical properties are the modern standard for internationalized layouts.
margin-block-start, padding-inline-end, etc.border-block-start-width, border-inline-start-color, etc.inline-size (replaces width), block-size (replaces height), min-inline-size, max-block-size.inset-block-start, inset-inline-end (replace top/right/bottom/left).overflow-inline, overflow-block.text-align: start / text-align: end.
writing-mode property defines the block axis and inline axis directions. In horizontal-tb (default), the block axis runs top-to-bottom and the inline axis runs left-to-right. In vertical-rl, the block axis runs right-to-left and the inline axis runs top-to-bottom. Logical properties reference these axes, so margin-block-start affects the top in horizontal-tb but the right side in vertical-rl. Use the playground above to switch modes and see the mapping update in real time!
direction only flips the inline axis (left ↔ right), swapping inline-start and inline-end. It does NOT affect the block axis. writing-mode fundamentally changes both axes—rotating the entire flow by 90°. In vertical-rl, the block axis becomes horizontal (right-to-left) and the inline axis becomes vertical (top-to-bottom). They can be combined: a vertical-rl writing mode with direction: rtl further flips the inline direction.
inset-* and overflow-* logical variants have slightly later support (Safari 15+), but core margin/padding/border/size logical properties are universally supported. You can safely use them in production, potentially with physical-property fallbacks for very old browsers.
margin-left and margin-inline-start on the same element, the one declared later in the cascade wins (just like any CSS property). A good practice is to use logical properties as your primary styling and only fall back to physical properties for very specific overrides or legacy browser support. For clean, maintainable code, consider adopting logical properties as your default approach for all spacing and sizing.
Load images or use colors and apply all 15 CSS blend modes. Visual tester for creative effects.
Apply user‑select: none, text, all and see how it affects selection. Copy the CSS snippet for your UI elements.
Manipulate CSS values as typed objects using attributeStyleMap. Convert between CSSUnitValue, CSSMathSum, etc. Futuristic CSS‑in‑JS.
Register a custom CSS property with syntax, initial value, and inherits. Animate colors and numbers that couldn’t before.
See every HTML input type in one page. Check browser support and styling. Copy sample markup. Quick frontend reference.
Test the new style() function inside @container to query custom property values. Revolutionary component‑based responsive design.
Paste your CSS and get a sorted list of all custom properties defined under :root with their values. Quick audit.
Write CSS with native nesting (like SCSS) and see the browser’s native parsing. Validator and live output.
Apply will‑change to any element and see its effect on compositing. Learn best practices for smooth animations.
Build a renovate.json file to automate dependency updates. Choose schedule, automerge, and package rules. Local.
Implement a dark/light theme toggle that respects prefers‑color‑scheme. Copy the complete JavaScript and CSS.
Access the Paint Timing API and display First Paint, First Contentful Paint, and Largest Contentful Paint times. Quick perf check.
Paste your stylesheet and get a clean list of all custom properties defined under :root. Copy the whole block. Local analysis.
Build a Vite configuration file by selecting plugins (Vue, React, etc.), aliases, and build options. Copy the final code.
Reset native styling on form elements with appearance: none. See before and after. Essential for custom forms.
Set up multiple @layers and use revert‑layer to fall back. See the computed style and cascade resolution live.
Log shedding events, note duration, and track humidity to optimize next cycle. Healthy scales.
Estimate arrival time with driving duration, breaks, and time zone changes. Plan your road trip precisely.
Generate a random 5‑color palette where every adjacent pair passes WCAG AA contrast. Safe for inclusive designs.
Calculate flour, water, starter amounts to achieve a target loaf hydration. Adjusts for starter hydration. Instant local calculation.
List all resources loaded by the current page and their detailed timing breakdown. In‑browser waterfall.
Enter network name and password to generate a stylish printable card for visitors. Local, no data leak.
Paste a raw server log snippet and see a structured table with IP, method, URL, and status. Quick audit.
Get a random, unique superpower with a detailed description and limit. Perfect for character creation or daydreaming.
Paste your CSS and see rules sorted by specificity. Find overrides and potential collisions. Understand your cascade.
See the current Service Worker registration, its state, and scope. Send 'skipWaiting' and update. PWA debug.
Schedule tasks with user‑visible, user‑blocking, or background priority. See execution order and delays. Modern web perf.
Enter a URL and instantly generate a PDF version using the browser's print-to-pdf engine. Private, no upload.
Enter a URL and instantly generate a PDF version using the browser's print-to-pdf engine. Private, no upload.
Estimate how long a battery will last given capacity (mAh/Wh) and load current. Also computes backup time for power banks. Quick and local.