CSS inset Property Demo - Online Shorthand for Top/Right/Bottom/Left
Set the inset property and see its logical shorthand equivalents. Copy the modern CSS for absolutely positioned elements.
UD5 Toolkit
Paste your CSS with custom properties — instantly generate IE11-compatible fallback declarations. No server, no build step, 100% client-side.
var(--name, fallback) usage, this tool inserts a standard property declaration before it. IE11 ignores the var() line (since it doesn't understand it) and uses the fallback value above. Modern browsers use the var() line, overriding the fallback. This is the same strategy used by postcss-custom-properties.
| Variable | Defined Value | Used | Status |
|---|---|---|---|
| Paste CSS to see detected variables | |||
--primary-color and var()) to render pages that use them. The most common approach—used by postcss-custom-properties—is to insert a duplicate declaration with the resolved fallback value before each var() usage. IE11 uses the first declaration it understands, ignoring the var() line, while modern browsers use the var() version. This checker automates that process visually.
--custom-property declarations or the var() function.
var() function accepts an optional fallback value: var(--name, fallback). When a CSS variable is not defined, the browser uses the fallback. For IE11 polyfills: (1) If var() has a fallback parameter (e.g., var(--color, red)), the polyfill uses that fallback value. (2) If no fallback is provided but the variable is defined elsewhere (e.g., :root { --color: blue; }), the polyfill looks up the defined value. (3) If neither exists, the property may be left unresolved, and a warning is generated. This tool follows the same logic.
var(--a, var(--b)) is extremely difficult to polyfill statically and usually requires manual intervention. 3. calc() with var(): calc(var(--w) * 2) requires the variable value to be known at build time. 4. Scoped variables: Variables defined in specific selectors (not :root) may resolve differently depending on the DOM context, which static polyfills cannot fully replicate. 5. Increased file size: Each fallback adds extra bytes to your CSS bundle.
preserve: true option, which keeps the original var() declarations for modern browsers while adding fallbacks for IE11—exactly the strategy this online tool demonstrates. Alternative tools include css-vars-ponyfill (runtime) and postcss-ie11-custom-properties. This checker helps you understand and preview the transformation before integrating it into your build process.
Set the inset property and see its logical shorthand equivalents. Copy the modern CSS for absolutely positioned elements.
Create seamless CSS background patterns like stripes, polka dots, checkerboard. Adjust size and colors. Copy the tiny CSS.
Apply text‑wrap: balance to headings and paragraphs. See the visual difference and copy the CSS. Avoid orphans.
Style the first letter of a paragraph as a large decorative drop cap. Choose font, color, and size. Get the CSS & HTML.
Type any CSS selector with :hover/:active/:focus and see the styles applied live. Perfect for debugging interaction states.
Choose a property, duration, and bezier curve. Trigger the transition and see the animation. Copy the complete CSS rule.
Design a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
Generate a hash showing how trackers can fingerprint your browser (canvas, WebGL, fonts). Educational and privacy‑aware.
Use the abs() and sign() CSS functions to create interesting layouts. See computed values live. Cutting‑edge CSS.
Create a glowing or rotating border animation around an element. Copy the CSS keyframes. Pure CSS magic.
Type any condition and see the result of the ternary operator. Understand truthy/falsy values. Quick learning tool.
Securely store your vaccination records as a digital card with a QR code to a verification URL (local only). No server.
Browse a searchable list of dog breeds with pictures and traits. Find the breed you saw. Static data, fast.
Generate random, formatted ID numbers that match pattern rules for various countries. For testing input validation. No real data.
Build a valid SPF TXT record by selecting mail servers, IPv4/IPv6 ranges, and includes. Validate syntax and get ready‑to‑publish output.
Enter a mathematical function for dx and dy and see the vector field arrows. Perfect for studying differential equations.
Select a country and year to see every public holiday. Static data for major countries. Plan your vacations.
Set start date and egg type (chicken, duck, quail) to generate a hatching timeline with milestone alerts (lockdown, pip, hatch). Local only.
Get a random, lighthearted daily horoscope based on your zodiac sign. For entertainment only. No personal data collected.
Upload a WebP image and automatically generate a <picture> tag with JPEG/PNG fallback. Ensure compatibility everywhere.
Pick colors for the shadcn/ui design system and generate the complete CSS variable theme file. Copy into your project.
Define a set of colors for light and dark themes. Get the CSS custom properties snippet. Toggle live.
Demonstrate how to add custom headers and POST‑like functionality to EventSource using a polyfill. Code and example.
Paste a list of hex colors and generate CSS custom properties for them. Create your design token file instantly.
Type any character and see how it renders in different font stacks. Detect missing glyphs and fallback behavior.
Build a complete font‑stack for your website. Choose a primary font and get the best fallback options for different OS. Copy the CSS.