# Ahmad Shadeed

Deep-dive CSS articles, modern CSS and visual CSS explanations.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Beyond the viewport: Introducing Site Seeing

DevFeed: [Beyond the viewport: Introducing Site Seeing](<https://devfeed.tech/articles/beyond-the-viewport-introducing-site-seeing-119588.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/beyond-the-viewport/>)

Author: Ahmad Shadeed

Published: 2026-11-05T00:00:00Z

Content type: article

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [Media Queries](<https://devfeed.tech/topics/media-queries.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [human centric design](<https://devfeed.tech/topics/human-centric-design.md>), [Web](<https://devfeed.tech/topics/web.md>), [Publishing](<https://devfeed.tech/topics/publishing.md>)

Tags: [container](<https://devfeed.tech/tags/container.md>), [css](<https://devfeed.tech/tags/css.md>), [design](<https://devfeed.tech/tags/design.md>), [layout](<https://devfeed.tech/tags/layout.md>), [layouts](<https://devfeed.tech/tags/layouts.md>), [media-queries](<https://devfeed.tech/tags/media-queries.md>), [responsive](<https://devfeed.tech/tags/responsive.md>), [responsive-design](<https://devfeed.tech/tags/responsive-design.md>), [viewport](<https://devfeed.tech/tags/viewport.md>), [web](<https://devfeed.tech/tags/web.md>), [website](<https://devfeed.tech/tags/website.md>)

### AI overview

Site Seeing helps designers, product managers, and developers inspect how a web page behaves in unusual viewing contexts beyond standard desktop and mobile viewport resizing. The article gives examples including a page viewed with developer tools open, with vertical tabs, with both, and with print styles. The author presents it as a way to consider how real users encounter a site, alongside responsive design work with media queries or container queries. The excerpt does not provide implementation details or a fuller account of the tool's capabilities.

### Source excerpt

We care about responsive design while building a web product, and this means working with media queries or container queries to have a robust end result. However, few of us think about the big picture: how a website is used by real users in real contexts. There are so many variations other than resizing the browser window or viewing a design on mobile and desktop.

## Fit height to background pattern size with calc-size()

DevFeed: [Fit height to background pattern size with calc-size()](<https://devfeed.tech/articles/fit-height-to-background-pattern-size-with-calc-size-87686.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/fit-height-background-pattern-calc-size/>)

Author: Ahmad Shadeed

Published: 2026-10-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [human computer interaction](<https://devfeed.tech/topics/human-computer-interaction.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>)

Tags: [background-size](<https://devfeed.tech/tags/background-size.md>), [calc](<https://devfeed.tech/tags/calc.md>), [css](<https://devfeed.tech/tags/css.md>)

### AI overview

A CSS tutorial shows how to align a repeating background pattern with a section's height using calc-size() and round(). It notes that the approach works in Chrome and Edge but is unavailable in Firefox and Safari, and demonstrates rounding the height and padding to multiples of the pattern tile height.

### Source excerpt

## The problem I have a section with a background pattern that repeats on both axes. I wanted the vertical repeat to be aligned with the pattern's height, so the pattern won't have cut-offs. Take the following design. ``` .section { --tile-width: 52px; --tile-height: 44px; background-image: url("pattern.png"); background-size: var(--tile-width) var(--tile-height); } ``` The Espresso Guide Everything you need to pull a great shot at home: picking the right beans, dialing in your grind size.

## Detect when elements overlap with CSS

DevFeed: [Detect when elements overlap with CSS](<https://devfeed.tech/articles/detect-when-elements-overlap-with-css-59213.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/css-detect-overlap/>)

Author: Ahmad Shadeed

Published: 2026-09-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [animations](<https://devfeed.tech/topics/animations.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Web platform](<https://devfeed.tech/topics/web-platform.md>)

Tags: [anchor-positioning](<https://devfeed.tech/tags/anchor-positioning.md>), [collision-detection](<https://devfeed.tech/tags/collision-detection.md>), [css](<https://devfeed.tech/tags/css.md>), [overlap](<https://devfeed.tech/tags/overlap.md>), [resize](<https://devfeed.tech/tags/resize.md>), [scroll-driven-animations](<https://devfeed.tech/tags/scroll-driven-animations.md>), [style-queries](<https://devfeed.tech/tags/style-queries.md>), [timeline-scope](<https://devfeed.tech/tags/timeline-scope.md>), [viewport](<https://devfeed.tech/tags/viewport.md>)

### AI overview

A tutorial explains how to detect overlap between elements using CSS anchor positioning and scroll-driven animations. It measures the space between a decorative element and a section, then uses that measurement to hide the element when it overlaps.

### Source excerpt

Detecting when two elements overlap using only CSS anchor positioning and scroll-driven animations.

## Better Icon and Label Alignment

DevFeed: [Better Icon and Label Alignment](<https://devfeed.tech/articles/better-icon-and-label-alignment-45248.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/aligning-list-icons/>)

Author: Ahmad Shadeed

Published: 2026-09-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [HTML](<https://devfeed.tech/topics/html.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [css](<https://devfeed.tech/tags/css.md>), [flexbox](<https://devfeed.tech/tags/flexbox.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>)

### AI overview

A tutorial on aligning icons with labels in multi-line list items. It presents separate approaches for icons in the HTML markup and icons added with pseudo-elements, explaining how flexbox, line height, and responsive changes affect alignment.

### Source excerpt

There is a common design pattern that sometimes gets missed or overlooked. It's having a list of items, each with an icon. When the text is one line, the icon is centered, but when the text has multiple lines, the icon is still centered but looks odd.

## Balancing flex items with flex-wrap: balance

DevFeed: [Balancing flex items with flex-wrap: balance](<https://devfeed.tech/articles/balancing-flex-items-with-flex-wrap-balance-45323.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/flex-wrap-balance/>)

Author: Ahmad Shadeed

Published: 2026-08-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [Web](<https://devfeed.tech/topics/web.md>), [layout](<https://devfeed.tech/topics/layout.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>)

Tags: [chrome](<https://devfeed.tech/tags/chrome.md>), [clamp](<https://devfeed.tech/tags/clamp.md>), [container](<https://devfeed.tech/tags/container.md>), [developers](<https://devfeed.tech/tags/developers.md>), [flexbox](<https://devfeed.tech/tags/flexbox.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [layout](<https://devfeed.tech/tags/layout.md>), [max-width](<https://devfeed.tech/tags/max-width.md>), [queries](<https://devfeed.tech/tags/queries.md>)

### AI overview

This tutorial explains how flexbox items can wrap unevenly and leave an orphan item on a new line. It presents flex-wrap balancing in Chrome 150 and browser-compatible alternatives using container queries and max-width with a conditional clamp.

### Source excerpt

A look at how flex items wrap and how to balance them across lines.

## The CSS lh unit

DevFeed: [The CSS lh unit](<https://devfeed.tech/articles/the-css-lh-unit-45350.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/lh-unit/>)

Author: Ahmad Shadeed

Published: 2026-07-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [css](<https://devfeed.tech/tags/css.md>)

### AI overview

This article explains the CSS line height unit, including how to use it for vertical spacing and paper-line effects. It shows how spacing can remain aligned with text line height and adapt better when font sizes change.

### Source excerpt

A look at the CSS line height unit and how it works.

## Rebuilding FIFA Standings Layout with CSS Subgrid

DevFeed: [Rebuilding FIFA Standings Layout with CSS Subgrid](<https://devfeed.tech/articles/rebuilding-fifa-standings-layout-with-css-subgrid-45320.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/fifa-layout/>)

Author: Ahmad Shadeed

Published: 2026-07-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [layout](<https://devfeed.tech/topics/layout.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [css-grid](<https://devfeed.tech/tags/css-grid.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [grid](<https://devfeed.tech/tags/grid.md>), [layout](<https://devfeed.tech/tags/layout.md>), [subgrid](<https://devfeed.tech/tags/subgrid.md>)

### AI overview

A tutorial on rebuilding the FIFA standings layout with CSS Grid and CSS subgrid. It explains how to structure the markup and position nested rounds across responsive layouts, while noting that the approach is a suggestion and does not cover animations or hover effects.

### Source excerpt

A look at how to rebuild the FIFA standings layout by using CSS grid, subgrid, and more.

## Better fluid sizing with round()

DevFeed: [Better fluid sizing with round()](<https://devfeed.tech/articles/better-fluid-sizing-with-round-45304.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/css-round/>)

Author: Ahmad Shadeed

Published: 2026-05-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [fluid](<https://devfeed.tech/tags/fluid.md>), [function](<https://devfeed.tech/tags/function.md>), [layout](<https://devfeed.tech/tags/layout.md>), [typography](<https://devfeed.tech/tags/typography.md>)

### AI overview

A tutorial on using the CSS round() function to make fluid sizing more predictable. It explains how rounding clamped values can improve consistency in typography, spacing, and layout, and includes browser support information and demos.

### Source excerpt

Using the round() function to get a more predictable fluid sizing.

## Media Queries Range Syntax

DevFeed: [Media Queries Range Syntax](<https://devfeed.tech/articles/media-queries-range-syntax-45368.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/range-syntax/>)

Author: Ahmad Shadeed

Published: 2026-05-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [Media Queries](<https://devfeed.tech/topics/media-queries.md>), [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [web-standards](<https://devfeed.tech/topics/web-standards.md>)

Tags: [breakpoint](<https://devfeed.tech/tags/breakpoint.md>), [browser-support](<https://devfeed.tech/tags/browser-support.md>), [css](<https://devfeed.tech/tags/css.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [media-queries](<https://devfeed.tech/tags/media-queries.md>), [readability](<https://devfeed.tech/tags/readability.md>), [responsive-design](<https://devfeed.tech/tags/responsive-design.md>), [viewport](<https://devfeed.tech/tags/viewport.md>)

### AI overview

A tutorial explaining how CSS media query range syntax improves readability and avoids breakpoint conflicts that can hide responsive navigation elements unexpectedly. It compares traditional min-width and max-width queries with range queries and discusses debugging and browser support.

### Source excerpt

Introduction Media queries are the backbone of responsive design. We use them to control how a design should change based on the viewport size. But the and syntax can be confusing, and in some cases, cause layout bugs that take time to spot. This article aims to convince you to use range queries, starting today. The problem with media queries In the following demo, we have a typical navigation pattern. On mobile, only the logo and the menu toggle are visible.

## The Too Early Breakpoint

DevFeed: [The Too Early Breakpoint](<https://devfeed.tech/articles/the-too-early-breakpoint-45397.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/too-early-breakpoint/>)

Author: Ahmad Shadeed

Published: 2026-01-31T00:00:00Z

Content type: opinion

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [web design](<https://devfeed.tech/topics/web-design.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Edge](<https://devfeed.tech/topics/edge.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [css](<https://devfeed.tech/tags/css.md>), [design](<https://devfeed.tech/tags/design.md>), [opinion](<https://devfeed.tech/tags/opinion.md>), [responsive](<https://devfeed.tech/tags/responsive.md>)

### AI overview

An opinion arguing that responsive designs should not switch to their smallest layout too early. It examines how premature breakpoints can make interfaces look awkward and recommends adding intermediate breakpoints for browser resizing, split-screen use, tablets, and link previews.

### Source excerpt

An opinion on why we shouldn't switch to the smallest design too early.

## Use Cases for Field Sizing

DevFeed: [Use Cases for Field Sizing](<https://devfeed.tech/articles/use-cases-for-field-sizing-45319.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/field-sizing/>)

Author: Ahmad Shadeed

Published: 2025-10-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [defensive-css](<https://devfeed.tech/tags/defensive-css.md>), [ui-design](<https://devfeed.tech/tags/ui-design.md>), [use-cases](<https://devfeed.tech/tags/use-cases.md>)

### AI overview

A tutorial on using the CSS field-sizing property to size input fields and select menus based on their content. It covers browser support, minimum and maximum widths, and UI examples including forms, pagination, URL fields, and hero sections.

### Source excerpt

A quick look at field-sizing and where it can be used.

## Building Fluid Section Layouts with Modern CSS

DevFeed: [Building Fluid Section Layouts with Modern CSS](<https://devfeed.tech/articles/solved-by-modern-css-section-layout-45356.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/modern-css-section-layout/>)

Author: Ahmad Shadeed

Published: 2025-10-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [layout](<https://devfeed.tech/topics/layout.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [clamp](<https://devfeed.tech/tags/clamp.md>), [container](<https://devfeed.tech/tags/container.md>), [css](<https://devfeed.tech/tags/css.md>), [grid](<https://devfeed.tech/tags/grid.md>), [layout](<https://devfeed.tech/tags/layout.md>), [modern](<https://devfeed.tech/tags/modern.md>)

### AI overview

A tutorial on building responsive section layouts with modern CSS. It covers headers, card grids, wrapping behavior, quantity queries, container queries, container query units, and fluid typography with clamp().

### Source excerpt

Building a typical section design with modern CSS.

## The Basics of Anchor Positioning

DevFeed: [The Basics of Anchor Positioning](<https://devfeed.tech/articles/the-basics-of-anchor-positioning-45250.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/anchor-positioning/>)

Author: Ahmad Shadeed

Published: 2025-08-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Web platform](<https://devfeed.tech/topics/web-platform.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [css](<https://devfeed.tech/tags/css.md>), [how-to](<https://devfeed.tech/tags/how-to.md>)

### AI overview

A tutorial covering the basics of CSS Anchor Positioning, including how it can position elements relative to other elements and address layout problems that are difficult to solve with traditional positioning. It also notes limited browser support.

### Source excerpt

In this article, I will cover the basics of Anchor Positioning and how I wish I had learned it earlier. Please use Chrome on a desktop or laptop if you want to try the interactive demos. If not, I've attached a video for most of the demos. Intro When learning CSS, you most likely came across the property and how to position an element outside of its normal flow. While this works, it has limitations: - We can't position the child element relative to anything other than its parent.

## Smart Layouts (CSS Day - 06.06.2025) - Video & Slides

DevFeed: [Smart Layouts (CSS Day - 06.06.2025) - Video & Slides](<https://devfeed.tech/articles/smart-layouts-css-day-06-06-2025-video-slides-45379.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/smart-layouts-talk-css-day/>)

Author: Ahmad Shadeed

Published: 2025-08-21T00:00:00Z

Content type: article

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [layout](<https://devfeed.tech/topics/layout.md>), [container](<https://devfeed.tech/topics/container.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [chrome-canary](<https://devfeed.tech/tags/chrome-canary.md>), [components](<https://devfeed.tech/tags/components.md>), [container](<https://devfeed.tech/tags/container.md>), [css](<https://devfeed.tech/tags/css.md>), [layouts](<https://devfeed.tech/tags/layouts.md>), [slides](<https://devfeed.tech/tags/slides.md>), [speaking](<https://devfeed.tech/tags/speaking.md>), [talk](<https://devfeed.tech/tags/talk.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

A personal recap of a CSS Day 2025 talk about Smart Layouts, advocating fluid CSS layouts that make decisions based on component constraints and conditions. It covers layout zones, CSS features such as :has and container queries, browser-based design examples, and links to slides and a video.

### Source excerpt

I spoke at CSS Day 2025 in Amsterdam about Smart Layouts.

## Better CSS layouts: Time.com Hero Section

DevFeed: [Better CSS layouts: Time.com Hero Section](<https://devfeed.tech/articles/better-css-layouts-time-com-hero-section-45395.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/time-layout/>)

Author: Ahmad Shadeed

Published: 2025-08-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [layout](<https://devfeed.tech/topics/layout.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [grid](<https://devfeed.tech/tags/grid.md>), [layouts](<https://devfeed.tech/tags/layouts.md>), [markup](<https://devfeed.tech/tags/markup.md>)

### AI overview

A tutorial analyzes the responsive hero and news-section layout on Time.com and proposes rebuilding it with flexible CSS. It examines breakpoints and progressively adapts the design from a one-column layout to two- and three-column grids as more space becomes available.

### Source excerpt

Taking another look at Time.com hero section. Can we do better?

## Item Flow

DevFeed: [Item Flow](<https://devfeed.tech/articles/item-flow-45342.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/item-flow/>)

Author: Ahmad Shadeed

Published: 2025-04-12T00:00:00Z

Content type: article

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [layout](<https://devfeed.tech/topics/layout.md>), [web-standards](<https://devfeed.tech/topics/web-standards.md>)

Tags: [a11y](<https://devfeed.tech/tags/a11y.md>), [css](<https://devfeed.tech/tags/css.md>), [css-grid](<https://devfeed.tech/tags/css-grid.md>), [display](<https://devfeed.tech/tags/display.md>), [flexbox](<https://devfeed.tech/tags/flexbox.md>), [gap](<https://devfeed.tech/tags/gap.md>), [layout](<https://devfeed.tech/tags/layout.md>), [padding](<https://devfeed.tech/tags/padding.md>), [property](<https://devfeed.tech/tags/property.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

This article examines the proposed CSS Item Flow system for unifying grid, flexbox, and masonry-related layout behavior. It discusses how the proposal could enable masonry through CSS syntax and explores dense packing options for flexbox, including potential accessibility concerns from reordering.

### Source excerpt

Notes on the proposed Item Flow system for grid, flexbox, and masonry

## Using Modern CSS attr() with Typed Values for Layout and Animation

DevFeed: [Using Modern CSS attr() with Typed Values for Layout and Animation](<https://devfeed.tech/articles/first-look-at-the-modern-attr-45354.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/modern-attr/>)

Author: Ahmad Shadeed

Published: 2025-04-03T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [HTML](<https://devfeed.tech/topics/html.md>), [data type](<https://devfeed.tech/topics/data-type.md>), [Availability](<https://devfeed.tech/topics/availability.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [attr](<https://devfeed.tech/tags/attr.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [css](<https://devfeed.tech/tags/css.md>), [css-grid](<https://devfeed.tech/tags/css-grid.md>), [feature-detection](<https://devfeed.tech/tags/feature-detection.md>), [html](<https://devfeed.tech/tags/html.md>), [mdn](<https://devfeed.tech/tags/mdn.md>)

### AI overview

A practical guide to modern CSS attr(), focusing on its ability to parse HTML attribute values into typed CSS values. It covers browser support, feature detection, CSS Grid column assignment, textarea row sizing, and animation delays.

### Source excerpt

Intro You might have used the function in CSS before to get the text content for a pseudo-element. The result is as follows: CSS is awesome There is nothing new or groundbreaking here, it's useful for some cases. However, when we want to use a value other than text, it will not work. In the following HTML, I added attribute to the element. And then used the attribute in CSS. It's not working because the function only supports text values.

## Managing Custom Spacing Between Flexbox and Grid Items with CSS

DevFeed: [Managing Custom Spacing Between Flexbox and Grid Items with CSS](<https://devfeed.tech/articles/self-gap-45378.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/self-gap/>)

Author: Ahmad Shadeed

Published: 2025-03-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [layout](<https://devfeed.tech/topics/layout.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [container](<https://devfeed.tech/tags/container.md>), [css](<https://devfeed.tech/tags/css.md>), [css-variables](<https://devfeed.tech/tags/css-variables.md>), [flexbox](<https://devfeed.tech/tags/flexbox.md>), [grid](<https://devfeed.tech/tags/grid.md>), [layout](<https://devfeed.tech/tags/layout.md>), [margins](<https://devfeed.tech/tags/margins.md>), [spacing](<https://devfeed.tech/tags/spacing.md>)

### AI overview

This tutorial examines ways to create custom spacing between flexbox or grid items. It compares margins, nested containers, and the default flow layout, then demonstrates using CSS variables with a flow utility.

### Source excerpt

Thinking of a way to have a custom gap between some flex or grid items.

## CSS Relative Colors

DevFeed: [CSS Relative Colors](<https://devfeed.tech/articles/css-relative-colors-45303.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/css-relative-colors/>)

Author: Ahmad Shadeed

Published: 2025-03-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [color](<https://devfeed.tech/topics/color.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [colors](<https://devfeed.tech/tags/colors.md>), [css](<https://devfeed.tech/tags/css.md>), [guide](<https://devfeed.tech/tags/guide.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [learn](<https://devfeed.tech/tags/learn.md>)

### AI overview

An interactive guide to CSS relative colors, explaining how they can generate lighter, darker, and transparent color variations from a base color. It compares the approach with Sass and absolute CSS color values and notes browser support.

### Source excerpt

An interactive guide to learn CSS Relative Colors.

## Balancing Text In CSS

DevFeed: [Balancing Text In CSS](<https://devfeed.tech/articles/balancing-text-in-css-45253.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/balancing-text-css/>)

Author: Ahmad Shadeed

Published: 2025-01-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [arabic](<https://devfeed.tech/tags/arabic.md>), [css](<https://devfeed.tech/tags/css.md>), [designer](<https://devfeed.tech/tags/designer.md>), [developer](<https://devfeed.tech/tags/developer.md>), [figma](<https://devfeed.tech/tags/figma.md>)

### AI overview

A practical exploration of balancing text in CSS across design tools and browsers. It examines how changing text box dimensions and content can create orphan words, and introduces browser-oriented approaches such as line breaks and text-wrapping controls.

### Source excerpt

Make text look more balanced with text-wrap in CSS.

## Solved By Modern CSS: Feature Image

DevFeed: [Solved By Modern CSS: Feature Image](<https://devfeed.tech/articles/solved-by-modern-css-feature-image-45355.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/modern-css-feature-image/>)

Author: Ahmad Shadeed

Published: 2024-12-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [container](<https://devfeed.tech/topics/container.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [layout](<https://devfeed.tech/topics/layout.md>), [Media Queries](<https://devfeed.tech/topics/media-queries.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [container](<https://devfeed.tech/tags/container.md>), [css](<https://devfeed.tech/tags/css.md>), [design](<https://devfeed.tech/tags/design.md>), [feature](<https://devfeed.tech/tags/feature.md>), [has](<https://devfeed.tech/tags/has.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [layout](<https://devfeed.tech/tags/layout.md>)

### AI overview

A tutorial on using CSS container queries and the :has() selector to make a feature-image component switch between stacked and circular layouts based on its container width.

### Source excerpt

Using container queries and CSS :has() to build a feature image.

## Overflow Clip

DevFeed: [Overflow Clip](<https://devfeed.tech/articles/overflow-clip-45361.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/overflow-clip/>)

Author: Ahmad Shadeed

Published: 2024-11-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [browser](<https://devfeed.tech/topics/browser.md>), [layout](<https://devfeed.tech/topics/layout.md>), [HTML](<https://devfeed.tech/topics/html.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [css](<https://devfeed.tech/tags/css.md>), [html](<https://devfeed.tech/tags/html.md>), [image](<https://devfeed.tech/tags/image.md>), [layout](<https://devfeed.tech/tags/layout.md>), [wrapper](<https://devfeed.tech/tags/wrapper.md>)

### AI overview

A tutorial explaining how CSS overflow values affect clipping and scrolling, focusing on the difference between overflow: hidden and overflow: clip. It also demonstrates practical uses of overflow: clip for hero sections and overflowing feature images.

### Source excerpt

Introduction The CSS property is common when building a website. It's used for different purposes: - Enable vertical scrolling (e.g., ) - Clip the content of a wrapper (e.g., ) Suppose we have a wrapper with the following CSS: Under the hood, the browser will add by default, resulting in clipping on both the horizontal and vertical sides..

## Should masonry be part of CSS grid?

DevFeed: [Should masonry be part of CSS grid?](<https://devfeed.tech/articles/should-masonry-be-part-of-css-grid-45288.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/css-grid-masonry/>)

Author: Ahmad Shadeed

Published: 2024-10-30T00:00:00Z

Content type: article

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Web platform](<https://devfeed.tech/topics/web-platform.md>)

Tags: [browsers](<https://devfeed.tech/tags/browsers.md>), [css](<https://devfeed.tech/tags/css.md>), [css-grid](<https://devfeed.tech/tags/css-grid.md>), [display](<https://devfeed.tech/tags/display.md>), [examples](<https://devfeed.tech/tags/examples.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [grid](<https://devfeed.tech/tags/grid.md>), [layout](<https://devfeed.tech/tags/layout.md>), [pinterest](<https://devfeed.tech/tags/pinterest.md>), [responsive](<https://devfeed.tech/tags/responsive.md>), [responsive-design](<https://devfeed.tech/tags/responsive-design.md>), [safari-technology-preview](<https://devfeed.tech/tags/safari-technology-preview.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

An exploration of CSS masonry layout, including the debate over whether it should be integrated into CSS Grid or introduced as a separate layout module. The article discusses syntax, browser support, progressive enhancement, and responsive design implications.

### Source excerpt

An exploration of examples showing masonry as both a part of CSS Grid and as its own display type.

## CSS display contents

DevFeed: [CSS display contents](<https://devfeed.tech/articles/css-display-contents-45317.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/display-contents/>)

Author: Ahmad Shadeed

Published: 2024-09-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [layout](<https://devfeed.tech/topics/layout.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [css-grid](<https://devfeed.tech/tags/css-grid.md>), [flexbox](<https://devfeed.tech/tags/flexbox.md>), [grid](<https://devfeed.tech/tags/grid.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [layouts](<https://devfeed.tech/tags/layouts.md>), [markup](<https://devfeed.tech/tags/markup.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

A CSS tutorial explaining how display: contents removes an element's box so its children participate directly in the parent layout. It demonstrates the technique with flexbox and grid, including changing visual order and styling generated HTML.

### Source excerpt

Learn how to use display contents to build more fluid layouts.

[Next page](<https://devfeed.tech/sources/ahmad-shadeed.md?cursor=WyIyMDI0LTA5LTA1VDAwOjAwOjAwKzAwOjAwIiwgImE4M2JkZGQ2LWI1YWItNGI0My05Y2I4LTNmMjc5M2Y3NzYwZSJd>)