text‑rendering Tester - Online Optimize Legibility
Compare text‑rendering: auto, optimizeSpeed, optimizeLegibility, geometricPrecision. See kerning and ligature changes live.
UD5 Toolkit
Measure and compare rendering performance with & without CSS content-visibility: auto
content-visibility
FPS: --
content-visibility: auto
FPS: --
content-visibility: auto is a CSS property that tells the browser to skip rendering of elements that are off-screen (outside the viewport). The browser automatically determines when an element is near the viewport and renders it just in time. This significantly reduces initial page layout and paint costs, especially for pages with large amounts of content. It combines contain: layout style paint with automatic visibility detection — the element still occupies space in the DOM and contributes to scroll dimensions, but its painting work is deferred until needed.
contain-intrinsic-size to prevent scrollbar jank when content hasn't been measured yet.
contain-intrinsic-size, scrollbar may jump as elements are measured. (3) find-in-page (Ctrl+F) may miss content in unrendered areas. (4) Accessibility tools that scan the DOM may not "see" skipped content. (5) Not supported in Firefox (as of 2024). Always test with your specific use case and provide a fallback.
content-visibility. The content still exists in the HTML, so indexing should work normally. However, if you're using it on critical above-the-fold content, ensure that content renders before crawler timeout. For maximum safety, avoid applying content-visibility: auto to your main content area's first visible portion — use it only below the fold.
content-visibility: auto. Safari added support in version 17.4+ (March 2024). Firefox does not yet support it (track Bugzilla #1798480). Use @supports (content-visibility: auto) for progressive enhancement — browsers that don't support it will simply render all content normally.
performance.now() with double requestAnimationFrame to capture full paint completion. (2) Scroll FPS — calculated by tracking requestAnimationFrame timestamps during synchronized auto-scrolling across both panels. (3) Long Tasks — monitored via PerformanceObserver for tasks exceeding 50ms. All measurements run on identical content in parallel containers for a fair, real-time comparison.
contain-intrinsic-size provides a placeholder size for elements before they're rendered. Without it, the browser must estimate dimensions, which can cause scrollbar instability as elements load in. Always set contain-intrinsic-size when you know the approximate size of your off-screen content — e.g., contain-intrinsic-size: auto 300px; for 300px-tall cards. Use the auto keyword to let the browser remember the last rendered size, providing the smoothest experience.
contain-intrinsic-size. Many sites report LCP improvements of 20–50% after applying content-visibility: auto to below-the-fold sections.
Compare text‑rendering: auto, optimizeSpeed, optimizeLegibility, geometricPrecision. See kerning and ligature changes live.
Paste multiple HTML snippets (header, footer) and a main content, then combine them into a single preview. Static site helper.
Enter a URL and get a rough client-side performance simulation: request count, DOM size, and potential speed tips. No real Lighthouse.
Build a multi‑layer text‑shadow to simulate 3D extruded text. Control depth, color, and direction. Copy long shadow CSS.
Enter a URL and fetch its text/background colors to perform a bulk contrast check. See warnings for WCAG violations.
Paste or write a CSS gradient value and instantly see the rendered output. Debug and iterate on gradients quickly. Local preview.
Check if the current page can be loaded offline by examining the service worker cache. Developer tool for PWAs.
Layer gradients and images and blend them with background‑blend‑mode. Create hero sections. Copy CSS.
Type directly into a contenteditable div with real‑time CSS filters, shadows, and colors. Download as HTML. Fun demo.
Force more or less contrast and see how your page adapts. Test your CSS media queries for accessibility.
Adjust ISO, f‑stop, shutter speed and see a simulated image brightness and depth of field effect. Learn manual mode.
Enter a URL and fetch its Twitter card meta tags. See a live preview of how the tweet will appear. Debug social sharing.
See the View Transitions API in action. Cross‑fade and morph between two states. Copy the JavaScript starter code.
Write Markdown and see the formatted HTML preview in real time. Syntax highlighting and GitHub-flavored Markdown support. No upload, fully local.
Check the Accessible Perceptual Contrast Algorithm (APCA) ratio. The next‑generation contrast method for WCAG 3.
Create color gradients that are perceptually uniform by interpolating in CIELAB space. Get the CSS linear‑gradient code. Visually superior.
Analyze text for screen reader friendliness: detect vague link text, missing alt suggestions. Get a report. Local.
Stack multiple text‑shadows to create a blurred, glowing gradient effect. Copy the long‑shadow CSS instantly.
Display text in horizontal‑tb, vertical‑rl, vertical‑lr. See how block and inline directions switch. For multilingual sites.
Create a pure CSS scroll progress indicator using animation‑timeline: scroll(). No JavaScript. Copy the complete code.
See exact dimensions of your current browser inner/outer window, screen resolution, and pixel ratio. Developer debug.
Place bold text over an image and apply mix‑blend‑mode: screen, multiply, etc. Create stunning hero sections. Download preview.
Analyze text for keyword frequency and density. Highlights over-optimized terms. Perfect for content writers and SEO editors. Entirely browser-based.
Create CSS clamp() values for fluid typography. Enter min and max font sizes and viewport widths. Modern responsive design.
Fetch a page and list all loaded assets (CSS, JS, images) with their sizes. See total page weight. Quick performance check.
Compare font‑display values (block, swap, fallback, optional) on the fly. See how text renders during web font load. Choose the right strategy.
Simulate a PWA receiving shared text, links, and images. Test the Web Share Target API without a server.
Enter megapixels and desired DPI to see the maximum print size without upscaling. Quick quality check.
Measure your internet connection speed by downloading and uploading a small test file. Works from your browser.
Paste HTML or Markdown to count total words, unique words, heading distribution, and reading time. Content audit helper.