CSS cikkek
A CSS dönti el, hogyan néz ki minden oldal, de jó részben azt is, milyen gyorsan jelenik meg, és elmozdul-e betöltés közben. Az ide sorolt cikkek ebből a gyakorlati szempontból foglalkoznak a CSS-sel, nem stílusoktatóként.
A Browser Rendering and Reflow Fundamentals elmagyarázza, mit kezd a böngésző a stíluslapokkal, és miért drágák bizonyos változtatások. A Debugging Layout Problems With DevTools végigvezet azon, hogyan találd meg az elrendezést elrontó szabályt. A Critical CSS: When It's Worth the Trouble mérlegeli, megéri-e a hajtás feletti stílusokat beágyazni a karbantartási teherhez képest, a Fixing Cumulative Layout Shift pedig az ugráló tartalom CSS-oldali okait veszi sorra.
- Browser Rendering and Reflow Fundamentals
Understanding how a browser turns HTML into pixels — and what forces it to redo the work — explains half of all web performance advice. Here's the mental model.
- Debugging Layout Problems With DevTools
That div won't center, the page scrolls sideways, and something is overlapping the menu. Here's a systematic DevTools workflow for finding out why — fast.
- Critical CSS: When It's Worth the Trouble
Critical CSS can shave real time off your first paint — or become a maintenance headache that breaks layouts. Here's how it works, when it pays off, and when to skip it.
- Fixing Cumulative Layout Shift
Layout shift is the web's most annoying bug and one of its most fixable. How CLS is scored, how to catch shifts in the act, and the fix for each of the usual suspects.