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

---
title: Best Kevin Powell posts — June 2024 | daily.dev
description: The most upvoted Kevin Powell posts from June 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/kevinpowell/best-of/2024/06
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/kevinpowell/best-of/2024/06
og:type: website
og:site_name: daily.dev
og:title: Best Kevin Powell posts — June 2024 | daily.dev
og:description: The most upvoted Kevin Powell posts from June 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 Kevin Powell — June 2024

1. 1  
[](https://daily.dev/posts/we-can-now-transition-to-and-from-display-none-oz2vyuzep "We can now transition to and from display: none")  
Video  
![Avatar of kevinpowell](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)Kevin Powell · 2y  
We can now transition to and from display: none  
Learn how to transition from display: none to display: block using CSS animations and transitions. Discover the difference between animations and transitions and how to animate a backdrop in CSS.  
423  
10
2. 2  
[](https://daily.dev/posts/smart-design-patterns-with-container-queries-swpldkuqx ""Smart" design patterns with container queries")  
Video  
![Avatar of kevinpowell](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)Kevin Powell · 2y  
"Smart" design patterns with container queries  
Container queries are a powerful CSS feature that allows styling based on the size of an element's container, rather than the viewport. This can lead to more flexible and meaningful breakpoints, particularly for component-based designs. The post explores practical examples, including making components adapt to the number of columns in a layout and how units like REM and EM work differently in container queries. The ability to create more intelligent design patterns without relying solely on viewport-based media queries is a key advantage.  
71

[See all Kevin Powell archives](/sources/kevinpowell/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/kevinpowell/best-of/2024/06#page","url":"https://daily.dev/sources/kevinpowell/best-of/2024/06","name":"Best Kevin Powell Posts — June 2024","description":"The most upvoted Kevin Powell posts from June 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/kevinpowell/best-of/2024/06#items","numberOfItems":2,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/we-can-now-transition-to-and-from-display-none-oz2vyuzep","name":"We can now transition to and from display: none"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/smart-design-patterns-with-container-queries-swpldkuqx","name":"\"Smart\" design patterns with container queries"}]},{"@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":"Kevin Powell","item":"https://daily.dev/sources/kevinpowell"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/kevinpowell/best-of"},{"@type":"ListItem","position":5,"name":"June 2024"}]}]}
```

