revertâlayer Demo - Online Reset to Previous Layer
See how revertâlayer removes styles from the current cascade layer and falls back to the previous one. Fix specificity wars.
UD5 Toolkit
See how revertâlayer removes styles from the current cascade layer and falls back to the previous one. Fix specificity wars.
Change all alignment and justification values and see the flex items move. Indispensable for learning Flexbox.
Manually manage flashcards with 5 virtual Leitner boxes. See when to review each box next. All data local storage.
Select text and see the Selection object properties. Create ranges programmatically. Understand how richâtext editors work.
Place two containers side by side to see how inlineâflex differs from flex. Understand block vs inline formatting.
Generate random numbers and watch the live histogram. Compare uniform, normal, and exponential distributions.
Explore the new twoâvalue display syntax like `display: block flex`. See what each inner/outer pair does visually.
Place a table caption on top, bottom, or inlineâstart/end. See the live change. Copy the code.
Add grid items beyond defined tracks and see how implicit rows/columns expand. Set sizes interactively. Master the grid.
Graph a cubicâbezier or steps easing function and see a bouncing ball animation using it. Copy the CSS timingâfunction.
Manipulate CSS values as typed objects using attributeStyleMap. Convert between CSSUnitValue, CSSMathSum, etc. Futuristic CSSâinâJS.
Enter two Roman numerals and add or subtract them. See the result in Roman and Arabic. A fun mental workout.
Simulate adaptive bitrate logic by switching between different quality video segments. See how ABR algorithms work.
Toggle between light and dark mode for a demo page. See how to use the media query. Copy the pattern.
Understand how !important behaves inside @layer vs unlayered styles. Interactive example. Avoid common pitfalls.
Enter two sides of a right triangle and get the third. Also gives area and perimeter. Simple and visual.
See how to implement file upload progress using both fetch and XHR. Realâtime bar and code snippets for your project.
Test the powerful :has() pseudoâclass. Write selectors like .card:has(img) and see the live result. Revolutionary for CSS architecture.
Use named grid lines instead of column numbers. See how they simplify placement. Visual, interactive learning.
Reset native styling on form elements with appearance: none. See before and after. Essential for custom forms.
Modify the DOM via buttons and see MutationRecords logged. Understand childList, attributes, and subtree options.
Wrap text around an irregular shape and adjust the margin and alpha threshold. Magazines layout on the web.
Enter a CSS selector and see its specificity broken down into A,B,C columns with a visual weight comparison. Learn specificity.
Scroll down to see images load lazily. Code snippet provided. Learn how native loading='lazy' works.
Paste a regular expression and get a stepâbyâstep plain English explanation of what it does. Learn regex.
Calculate large Fibonacci numbers in a Web Worker. See the UI remain responsive. Copy the pattern for your app.
Full scientific calculator with history tape, memory keys, and unit conversions. All in your browser, no install.
Enter a dataset to compute Q1, median, Q3, IQR, and highlight outliers. Visual box plot generated in canvas.
Paste text to compute reading ease and grade level using Flesch-Kincaid, SMOG, and ARI. Improve your writing clarity. All in browser.
Use the <template> tag to hold hidden HTML that is cloned and injected by JavaScript. Common pattern.
Test the new style() function inside @container to query custom property values. Revolutionary componentâbased responsive design.
Animate elements as they enter and exit the viewport using view() timeline. Parallax and reveal effects without JS.
Convert any integer up to 3999 into its Roman numeral representation and vice versa. Quick and accurate. Local.
Compute confidence intervals for a population mean (known/unknown sigma) and proportion. All popular Z/T values. Local.
Set up multiple @layers and use revertâlayer to fall back. See the computed style and cascade resolution live.
Enter a decimal number and see detailed stepâbyâstep conversion to binary, octal, and hex. For students.
Count syllables per word and for entire text blocks. Ideal for writing haikus, poetry, and literacy exercises. Local algorithm.
Write CSS with native nesting (like SCSS) and see the browserâs native parsing. Validator and live output.
Practice aligning grid items and tracks with the placeâitems, alignâcontent, and justifyâcontent properties. Visual guide.
Paste a string of 0s and 1s and decode it back into ASCII text. Handles spaceâseparated blocks. Local.
A collection of clean, familyâfriendly riddles with a revealâonâclick answer. Random riddle each time. Perfect for break time.
Use the abs() and sign() CSS functions to create interesting layouts. See computed values live. Cuttingâedge CSS.
Watch a simulation of how the JavaScript event loop handles synchronous code, microtasks, and macrotasks. Learn async.
See how grid-auto-flow: row vs column changes item placement. Add and remove items to understand the algorithm. Visual.
Build a 3D card flip effect and toggle backfaceâvisibility. See the hidden back face. Copy the complete CSS.
Enter two CSS selectors and see which one would win in a specificity battle. Visual score breakdown.
Start with a word and find synonyms, then synonyms of synonyms. Build a chain and explore language. Local thesaurus.
Compute the Euclidean distance between two points in 2D or 3D space. Also shows midpoint. Quick geometry helper.
Paste a potential XSS vector and see if it executes in a sandboxed iframe. For security researchers and education.
Test required, pattern, minlength etc. See validity states and custom error messages. Learn browserânative validation.
Run a CPUâheavy calculation (e.g., prime numbers) in a Web Worker and see the UI stay responsive. Code snippet provided.
View a series of digital Ishiharaâstyle plates. Not a diagnostic tool, just educational. Read numbers.
Count significant digits in a number and round to a specific number of sig figs. Perfect for chemistry and physics labs.
Select logical operators (AND, OR, XOR, NAND) and generate a complete truth table. Handy for digital logic.
Use trigonometric functions in CSS to create circular animations and layouts without JavaScript. See the code.
Type text and instantly see it rendered with textâtransform: uppercase, lowercase, capitalize, and fullâwidth. Copy CSS.
Define multiple @layer blocks and see which styles win. Understand layer order and revertâlayer. Modern CSS architecture.
Register a custom CSS property with syntax, initial value, and inherits. Animate colors and numbers that couldnât before.
Practice CSS selectors by targeting plates on a virtual restaurant table. 30+ levels. Perfect for beginners.
Visualize Brownian motion with hundreds of particles. Adjust temperature and viscosity to see diffusion changes. Educational science tool.