Published on 11.09.2024
TLDR: CSS display: contents removes an element's box while keeping its children in the DOM, enabling more flexible layouts by allowing child elements to join their grandparent's layout context. This solves common layout challenges where intermediate wrapper elements interfere with flexbox or grid layouts.
Link: CSS display contents
TLDR: The CSS :has pseudo-class enables "parent selectors" by styling elements based on their children, opening up powerful new styling possibilities that were previously impossible with CSS alone. Josh Comeau shares real-world applications from rebuilding his blog with modern CSS.
Link: The Undeniable Utility Of CSS :has
TLDR: CSS Triggers is a resource that maps CSS properties to their rendering costs across browser engines, helping developers understand which properties trigger layout, paint, or composite operations for better performance optimization.
Link: CSS Triggers | Write More Performant CSS
TLDR: Jeremy Keith advocates for starting web projects without build tools and only adding complexity when manual processes become genuinely unworkable. Many projects never reach that threshold, resulting in simpler, more maintainable codebases.
Link: Manual 'till it hurts
TLDR: Chrome DevTools introduces experimental Performance Panel features that combine lab and field data for Core Web Vitals analysis, providing both local measurements and real-world user experience data from Chrome User Experience Report to help developers optimize web performance more effectively.
Link: Brand New Performance Features in Chrome DevTools
TLDR: CSS Anchor Positioning introduces powerful new layout capabilities but comes with complex quirks around containing blocks and positioning contexts that developers need to understand to use the feature effectively.
Link: Anchor Positioning Quirks
Disclaimer: This article was generated using newsletter-ai powered by claude-sonnet-4-20250514 LLM. While we strive for accuracy, please verify critical information independently.