<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/ishadeed/best-of/2024" -->

---
title: Best Ahmad Shadeed posts of 2024 | daily.dev
description: The most upvoted Ahmad Shadeed posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/ishadeed/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/ishadeed/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best Ahmad Shadeed posts of 2024 | daily.dev
og:description: The most upvoted Ahmad Shadeed posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Ahmad Shadeed — 2024

1. 1  
[](/posts/css-display-contents-rtl9mzrfu "CSS display contents")  
[![ishadeed's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/2bcc7ec837854040856ba4a4eb8946d0)](/sources/[source]/best-of/[year])  
15m read time • Sep 05, 2024  
### CSS display contents  
The post explains the CSS display: contents property, demonstrating its ability to remove the box element of a parent container while keeping its children in the DOM. This can be useful for ungrouping elements, styling generated HTML, and adjusting layouts without altering the actual HTML structure. Various examples illustrate how display: contents can simplify complex layouts, enhance flexibility, and solve common design issues such as repositioning elements and creating responsive designs.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c4e9cc97902f00c24565a5dca20f79c9?_a=AQAEuiZ)  
192  
7
2. 2  
[](/posts/css-cap-unit-q8mkxcgwr "CSS Cap Unit")  
[![ishadeed's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/2bcc7ec837854040856ba4a4eb8946d0)](/sources/[source]/best-of/[year])  
3m read time • Jun 05, 2024  
### CSS Cap Unit  
The author explores the problem of aligning a box between two words and keeping its height equal to uppercase letters. They propose three solutions and ultimately find the 'cap' unit to be the perfect solution.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/25cd54677357fa5d54f3933aceb772a3?_a=AQAEuiZ)  
179  
6

[See all Ahmad Shadeed archives](/sources/ishadeed/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/ishadeed/best-of/2024#page","url":"https://daily.dev/sources/ishadeed/best-of/2024","name":"Best Ahmad Shadeed Posts of 2024","description":"The most upvoted Ahmad Shadeed posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/ishadeed/best-of/2024#items","numberOfItems":2,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/css-display-contents-rtl9mzrfu","name":"CSS display contents"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/css-cap-unit-q8mkxcgwr","name":"CSS Cap Unit"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Ahmad Shadeed","item":"https://daily.dev/sources/ishadeed"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/ishadeed/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

