
Why a CSS transition doesn't work: display none, height auto, a class added in the same frame, and animations turned off. How to check each cause and fix it.

Does your page shift sideways when a modal opens? Here's the cause — a disappearing scrollbar — and the fix with scrollbar-gutter: stable and padding-right.

border vs outline in CSS: the difference, why a border on hover shifts your layout by 2 pixels while outline doesn't, and which to use for focus and cards.

Why a timer or counter jitters and shifts the text beside it: proportional digits, changing digit count, and fonts without tabular-nums. How to fix it.

How to build a pure-CSS carousel with scroll-snap: native swipe on phones, arrows and dots in 20 lines of JS, no slider library and no broken Back gesture.

What line-height is in plain words: how the browser builds a line box, why 1.5 and 150% inherit differently, and what value to use for body text.

What CSS variables are in plain words: how var() works, why they inherit unlike Sass variables, and the three gotchas that trip up almost everyone.

How to truncate text with CSS: one property isn't enough, you need three. Single-line, multi-line clamping, and the flexbox trap that breaks both.

em vs rem in CSS: what each unit measures against, where em compounds and breaks, and why both ignore your html font-size inside media queries.

What z-index actually is: why a modal with z-index 9999 still slips under the header, what a stacking context is, and how to fix it without bigger numbers.

The CSS box model in plain words: why width 350px renders as 370px, what box-sizing border-box changes, and why four 25% columns don't fit on one line.

CSS container queries in plain words: why @media fails a component in a narrow sidebar, how @container works, and the two traps tutorials skip.

How to center a block horizontally and vertically: margin auto, flex, grid and the new align-content in a plain block. With code and a rule for picking one.

object-fit: cover vs contain compared on cropping, empty bars, card grids and photos of people. Plus scale-down for logos and object-position.

Your position: sticky header scrolls away with the page? Three common causes — a missing top, overflow on a parent, no room to move — and how to check each.

Content shoves itself down and you miss the button. Why a page jumps while loading: three real causes, how to find the culprit and how to fix each one.