BlogFeatured 1 times
Ahmad Shadeed
Deep-dive CSS articles, modern CSS and visual CSS explanations.
Recent posts
Newest first- The web is losing its personality
AI-generated website designs are becoming indistinguishable, lacking the unique personality and human touch derived from personal experiences and cultural backgrounds.
- Beyond the viewport: Introducing Site Seeing
Site Seeing is a new tool that tests how web pages behave in unusual viewport sizes and contexts beyond simple browser resizing.
- Fit height to background pattern size with calc-size()
Using calc-size() with round() provides a modern CSS solution to fit background pattern heights without cut-offs.
- Detect when elements overlap with CSS
CSS anchor positioning and scroll-driven animations enable detecting element overlap by measuring space and triggering actions when it becomes scrollable.
- Balancing flex items with flex-wrap: balance
Flex-wrap: balance offers a new way to achieve balanced item wrapping in flexbox layouts, avoiding awkward single-item wraps.
- The CSS lh unit
The CSS lh unit, equal to the computed line-height, offers improved vertical spacing, paper line effects, and floating image alignment.