size‑container Demo - Online Intrinsic & Styled Queries
Explore the size‑container and inline‑size CSS properties for container queries. Understand containment contexts. Visual guide.
UD5 Toolkit
Interactive visualization of how scroll-padding (container offset) and scroll-margin (element offset) affect anchor positioning & scrollIntoView() behavior.
scrollIntoView() — observe how padding & margin shift the final position.
Space reserved at the top of the scroll container's viewport.
Extra margin above each target element when scrolled into view.
scroll-padding and scroll-margin are fully respected by element.scrollIntoView() and anchor-link navigation (URL hash). The browser automatically factors them into the final scroll position. This demo uses scrollIntoView({ behavior: 'smooth', block: 'start' }) under the hood — try adjusting the sliders and clicking the nav pills to see it in action.
scroll-margin-top value. This is one key advantage over scroll-padding: you can fine-tune individual targets. For example, a hero section might need scroll-margin-top: 80px while a footer anchor only needs scroll-margin-top: 20px.
scroll-padding-inline-start, scroll-padding-block-end, and other logical property variants are supported. These are especially useful for internationalization (RTL layouts) and when working with writing modes. The same applies to scroll-margin-inline-* and scroll-margin-block-*.
Explore the size‑container and inline‑size CSS properties for container queries. Understand containment contexts. Visual guide.
Make an element resizable horizontally, vertically, or both. See the handle and code. Useful for textareas.
Compare width/height with block‑size/inline‑size in different writing modes. Understand intrinsic sizing. Copy best practices.
Toggle print‑specific styles like removing backgrounds, showing link URLs, and adding page breaks. Generate a complete print stylesheet instantly.
Add print styles like removing backgrounds, adding page breaks, setting margins. See print preview instantly.
Request HID devices and list them. Read input reports and send output. For custom hardware and controllers.
Analyze text for screen reader friendliness: detect vague link text, missing alt suggestions. Get a report. Local.
Estimate board feet of spray foam needed for a cavity. Compare closed‑cell and open‑cell.
Drag to resize a box and see the Resize Observer callback fire. Get contentRect and borderBoxSize. Learn the API.
Type a few words and see them rendered at every heading size (h1–h6) with your chosen font. Perfect for design systems.
Enter item dimensions and find the smallest rectangular box that can fit them (simple packing heuristic). Helps reduce shipping costs. Local algorithm.
Select any element on the test page and monitor its size changes with ResizeObserver. See log of all entries.
Enter viewing distance to get the minimum readable print font size. Design posters and signs.
Demonstrate how to add custom headers and POST‑like functionality to EventSource using a polyfill. Code and example.
Enter head circumference to get crown diameter and length. Perfect fit top‑down hats.
Select your wall type and furniture style to see the best anchoring method. Prevent tip‑over accidents.
Enter length, width, thickness to approximate surfboard volume. Compare to your ideal volume based on weight.
Interactive guide to understanding standard 16/24 inch stud spacing. Visualize wall internals. Useful before drilling.
Paste a raster image and an SVG, see the file size and rendering time. Understand when to use vector. Local.
Calculate the entropy (in bits) of a password based on character pool size and length. Visual strength meter with crack time estimation. Local only.
Knit a swatch, measure before and after felting, and let this tool calculate the shrink percentage. Plan your felted projects accurately.
Estimate body fat percentage using neck, waist, hip (if female) measurements. Supports US Navy, Covert Bailey, and 3-site skinfold methods. No data sent to server.
Enter current ball size and target to find approx rubber bands required. Fun and satisfying.
Enter your hammock length to get the ideal fixed ridgeline length (83% of hammock length). Achieve a consistent, comfortable sag.
Enter image pixel dimensions and compute maximum print size at various DPI. With aspect ratio presets (4x6, 5x7, 8x10) and cropping preview. Local tool.
Plot weekly weight gain against recommended ranges based on pre-pregnancy BMI. IOM guidelines displayed. Data stored in localStorage.
Find out how large you can print based on image resolution in pixels. Understand DPI and megapixels.
Generate a Lit Element web component skeleton with styles and properties. Copy and start coding immediately.
Enter baby's weight in lbs or kg to see suggested diaper sizes across major brands. General reference, no data collected.
Apply will‑change to any element and see its effect on compositing. Learn best practices for smooth animations.