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

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

1. 1  
[](/posts/5-css-tips-every-developer-should-know-9j8frhxzv "5 CSS tips every developer should know")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
26m watch time • May 07, 2025  
### 5 CSS tips every developer should know  
Discover five CSS features that can enhance your code by reducing JavaScript reliance and solving common design problems efficiently. Learn to utilize single color gradients for borders, effective use of user select, mastering the 'all' property for style resets, innovating with CSS masks, and employing anchor positioning for consistent element placement.

+4  
![Post Cover image](https://i.ytimg.com/vi/bssZTv3BgkE/sddefault.jpg)  
104  
1
2. 2  
[](/posts/stop-using-the-legacy-color-syntax-q80zgvmf6 "Stop using the legacy color syntax")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
7m watch time • Dec 17, 2025  
### Stop using the legacy color syntax  
Modern CSS color syntax no longer requires the 'A' suffix in RGBA/HSLA or comma separators. The new space-separated syntax uses a forward slash before alpha values (e.g., \`rgb(255 0 0 / 0.5)\`). This syntax is mandatory for newer color functions like OKLCH, LAB, and the color() function, which support wider color gamuts beyond sRGB. The most practical benefit is relative colors, which allow manipulating existing color variables on-the-fly, such as adding transparency to any color format using syntax like \`hsl(from var(--color) h s l / 0.5)\`. The legacy comma syntax still works and doesn't require refactoring existing projects.

+3  
![Post Cover image](https://i.ytimg.com/vi/Uynb7Ci8JMg/sddefault.jpg)  
51  
11
3. 3  
[](/posts/masonry-layout-is-coming-but-it-s-got-a-new-name-xfiviusab "Masonry layout is coming, but it's got a new name")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
6m watch time • Nov 14, 2025  
### Masonry layout is coming, but it's got a new name  
The CSS Working Group has officially named the masonry layout feature 'grid lanes' after over a year of community debate. All major browsers already have some implementation of the feature, with Firefox having a partial implementation for 5 years, Safari offering it in technical preview, and Chrome supporting it behind a flag. The naming decision followed extensive public polling and feedback, with the working group deliberately taking time to gather community input before finalizing the specification. Now that the display type has been named, the associated properties and values should be standardized quickly, potentially leading to rapid browser adoption.

+3  
![Post Cover image](https://i.ytimg.com/vi/yikbSQ6tvlE/sddefault.jpg)  
47  
2
4. 4  
[](/posts/remove-empty-elements-with-one-line-of-css---great-for-dynamic-content-eutw1zvnc "Remove empty elements with one line of CSS - great for dynamic content")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
1m watch time • Jan 30, 2025  
### Remove empty elements with one line of CSS - great for dynamic content  
Learn how to efficiently hide empty elements in dynamic content using the CSS empty pseudo-selector, avoiding the need for complex JavaScript solutions. Ensure that your error messages are completely empty to work correctly and consider accessibility implications for screen readers.

+4  
![Post Cover image](https://i.ytimg.com/vi/CE8hQIvTzGk/sddefault.jpg)  
37  
2
5. 5  
[](/posts/easily-create-overlapping-sections-on-a-website-bvftchhwn "Easily create overlapping sections on a website")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
11m watch time • Jan 02, 2025  
### Easily create overlapping sections on a website  
Learn multiple solutions for creating overlapping sections on a website layout, focusing on using CSS techniques such as box-shadow and linear gradients. The post also provides tips to avoid common issues and discusses the merits of each method.

+4  
![Post Cover image](https://i.ytimg.com/vi/gb9s0iBE3ak/sddefault.jpg)  
27
6. 6  
[](/posts/goodbye-vs-code-hello-zed--0wuxoxxca "Goodbye VS Code, hello Zed!")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
36m watch time • Nov 26, 2025  
### Goodbye VS Code, hello Zed!  
A comprehensive walkthrough of setting up and configuring Zed editor as an alternative to VS Code. Covers installation, customization options including themes and fonts, profile management for different workflows, extension ecosystem, and AI-powered coding features. Highlights Zed's performance advantages, built-in Rust architecture, and unique features like independent UI/buffer font sizing and simplified profile configuration.

+4  
![Post Cover image](https://i.ytimg.com/vi/6A7H7YKDclA/sddefault.jpg)  
24  
6
7. 7  
[](/posts/make-an-animated-glowing-border-effect-with-css-jb8vnjqaq "Make an animated glowing border effect with CSS")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
30m watch time • Jun 04, 2025  
### Make an animated glowing border effect with CSS  
A comprehensive tutorial demonstrating how to create an animated glowing border effect using pure CSS, inspired by Google's AI search interface. The technique uses conic gradients, pseudo-elements, and CSS custom properties to achieve a dynamic glow that works with any background color and supports both light and dark themes. The implementation includes positioning tricks with z-index and stacking contexts, blur filters for the glow effect, and registered custom properties for smooth animations. The tutorial also covers creating variants for different border positions and making the effect easily customizable through CSS variables.

+4  
![Post Cover image](https://i.ytimg.com/vi/JCYo0r67koM/sddefault.jpg)  
25  
1
8. 8  
[](/posts/scroll-state-queries-are-on-the-way-and-a-bunch-more--r5qc47cad "Scroll state queries are on the way! (and a bunch more)")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
10m watch time • Jan 22, 2025  
### Scroll state queries are on the way! (and a bunch more)

+4  
![Post Cover image](https://i.ytimg.com/vi/mRMLN6RU1FU/sddefault.jpg)  
19
9. 9  
[](/posts/css-attribute-selectors-g9g3fuqfx "CSS Attribute Selectors")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
11m watch time • Nov 05, 2025  
### CSS Attribute Selectors  
Explores advanced CSS attribute selectors beyond basic usage, covering operators like tilde (\~=), pipe (|=), caret (^=), dollar ($=), and asterisk (\*=). Demonstrates practical applications including styling links based on file types (PDFs) and external URLs using prefix/suffix matching. Addresses common performance concerns, clarifying that modern browsers handle attribute selectors efficiently.

+3  
![Post Cover image](https://i.ytimg.com/vi/TWqpa-hfIdw/sddefault.jpg)  
18
10. 10  
[](/posts/html-css-form-tutorial-frontend-mentor-zqiwcxw37 "HTML & CSS form tutorial / Frontend Mentor")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
1h 1m watch time • Sep 03, 2025  
### HTML & CSS form tutorial / Frontend Mentor  
A comprehensive tutorial covering HTML form structure and CSS styling techniques. Demonstrates building a contact form with proper semantic markup, grid layouts, form validation states, accessibility considerations, and responsive design. Covers advanced CSS concepts like custom properties, nesting, pseudo-elements, and the has() selector for dynamic styling based on form states.

+2  
![Post Cover image](https://i.ytimg.com/vi/jJgNgNNHqjk/sddefault.jpg)  
18
11. 11  
[](/posts/this-css-color-game-is-way-harder-than-i-expected-tqz7fwu0b "This CSS Color Game is way harder than I expected")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
12m watch time • Jan 08, 2025  
### This CSS Color Game is way harder than I expected  
Explore a fun and challenging CSS color guessing game where you need to match colors to their CSS names. The author describes their experiences and struggles with identifying specific color names like 'goldenrod', 'dark orchid', and 'ghost white'. They share their mistakes and learnings throughout the game, providing a link for readers to try it themselves.

+3  
![Post Cover image](https://i.ytimg.com/vi/Is8HC7hbA3Q/sddefault.jpg)  
16  
1
12. 12  
[](/posts/getting-started-with-css-style-queries-1qmhklhzr "Getting started with CSS Style Queries")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
17m watch time • Jun 18, 2025  
### Getting started with CSS Style Queries  
CSS style queries are a new feature that allows developers to apply styles based on custom properties of container elements. Unlike traditional approaches using modifier classes, style queries enable conditional styling that responds to both container dimensions and custom property values. They work by querying custom properties from parent containers using the @container style() syntax, making it possible to create dynamic theming systems and responsive layouts that adapt based on multiple conditions. While browser support is currently limited to custom properties only, style queries open up new possibilities for component-based styling that weren't possible before.

+4  
![Post Cover image](https://i.ytimg.com/vi/WP5CC5yawfs/sddefault.jpg)  
15  
1
13. 13  
[](/posts/wrapper-classes-a-layout-foundation-peeloog33 "Wrapper Classes: A Layout Foundation")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
9m watch time • Mar 05, 2025  
### Wrapper Classes: A Layout Foundation  
Learn how to effectively use wrapper classes to manage layout issues in HTML and CSS. Discover the importance of CSS logical properties for responsive design and understand when to use wrappers versus containers for better content flow. The post also highlights a free HTML and CSS course for beginners, covering essential topics like flexbox, grid, and responsive design.

+3  
![Post Cover image](https://i.ytimg.com/vi/tr7EH48TFiE/sddefault.jpg)  
14
14. 14  
[](/posts/how-to-set-max-columns-using-auto-fit-or-auto-fill-adz8fybt7 "How to set max-columns using auto-fit or auto-fill")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
16m watch time • Apr 09, 2025  
### How to set max-columns using auto-fit or auto-fill  
Learn how to set a maximum number of columns in a CSS grid layout using auto-fit or auto-fill, and how to handle gaps and other layout issues. The post provides detailed guidance on using the calc() function to ensure the grid adapts to different screen sizes while capping the maximum column count.

+4  
![Post Cover image](https://i.ytimg.com/vi/CHULPvkXIRo/sddefault.jpg)  
13
15. 15  
[](/posts/my-best-css-tips-from-2024-bnucklb6f "My best CSS tips from 2024")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
16m watch time • Jan 29, 2025  
### My best CSS tips from 2024  
The post reviews five valuable CSS tips from 2024, focusing on timeless techniques that many developers overlook. Key highlights include customizing link underlines with thickness, color, and style properties, optimizing background images with repeat, round, and space properties, using nth-child to select ranges of elements, utilizing CSS counters for dynamic numbering, and solving text wrap issues on buttons using fit-content. These tips help enhance styling without relying on modern CSS features.

+4  
![Post Cover image](https://i.ytimg.com/vi/lUU2OAAg4Uw/sddefault.jpg)  
13
16. 16  
[](/posts/make-this-fun-effect-that-follows-your-cursor-pure-css--wwve2qj0z "Make this fun effect that follows your cursor (pure CSS)")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
26m watch time • Aug 20, 2025  
### Make this fun effect that follows your cursor (pure CSS)

+4  
![Post Cover image](https://i.ytimg.com/vi/8_NQ7ARXz8c/sddefault.jpg)  
12  
1
17. 17  
[](/posts/centering-in-css-is-a-meme-for-the-wrong-reasons-qksl3iqib "Centering in CSS is a meme for the wrong reasons")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
2m watch time • Feb 03, 2025  
### Centering in CSS is a meme for the wrong reasons  
The post explores various methods to center elements in CSS, comparing older techniques like position absolute with modern methods like Flexbox and CSS Grid. It highlights multiple options, such as using the translate property, margin auto, and new CSS properties like place-items and place-content.

+2  
![Post Cover image](https://i.ytimg.com/vi/YBMBhOxbKI0/sddefault.jpg)  
12  
2
18. 18  
[](/posts/easily-transition-to-and-from-display-none-1opxgf1k6 "Easily transition to and from display none")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
2m watch time • May 29, 2025  
### Easily transition to and from display none  
CSS now supports animating the display property using @starting-style and transition-behavior: allow-discrete. This enables smooth transitions to and from display: none, solving a long-standing limitation. The technique requires setting up a closed state with display: none and opacity: 0, an open state with display: grid and opacity: 1, and using @starting-style within the open state to define initial animation values. This approach works for popup menus, modals, and other UI elements that need to appear and disappear smoothly.

+3  
![Post Cover image](https://i.ytimg.com/vi/xVt8Foa2u7I/sddefault.jpg)  
10  
1
19. 19  
[](/posts/you-can-scope-styles-with-vanilla-css-now-lohyqzapk "You can scope styles with vanilla CSS now")  
Video  
[![kevinpowell's profile](https://media.daily.dev/image/upload/s--XK5Rf0kM--/f_auto/v1717745137/logos/kevinpowell)](/sources/[source]/best-of/[year])  
2m watch time • Jan 24, 2025  
### You can scope styles with vanilla CSS now  
Scoped styles in vanilla CSS allow developers to apply specific styles to elements without affecting others outside the designated scope. This technique uses the @scope rule to limit the style application, thereby preventing style bleeding and reducing specificity issues. It enables behaviors similar to those found in JavaScript frameworks, offering more precise control over component styling.

+5  
![Post Cover image](https://i.ytimg.com/vi/Al-wkAkESGU/sddefault.jpg)  
10

[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/2025#page","url":"https://daily.dev/sources/kevinpowell/best-of/2025","name":"Best Kevin Powell Posts of 2025","description":"The most upvoted Kevin Powell posts of 2025, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/kevinpowell/best-of/2025#items","numberOfItems":19,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/5-css-tips-every-developer-should-know-9j8frhxzv","name":"5 CSS tips every developer should know"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/stop-using-the-legacy-color-syntax-q80zgvmf6","name":"Stop using the legacy color syntax"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/masonry-layout-is-coming-but-it-s-got-a-new-name-xfiviusab","name":"Masonry layout is coming, but it's got a new name"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/remove-empty-elements-with-one-line-of-css---great-for-dynamic-content-eutw1zvnc","name":"Remove empty elements with one line of CSS - great for dynamic content"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/easily-create-overlapping-sections-on-a-website-bvftchhwn","name":"Easily create overlapping sections on a website"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/goodbye-vs-code-hello-zed--0wuxoxxca","name":"Goodbye VS Code, hello Zed!"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/make-an-animated-glowing-border-effect-with-css-jb8vnjqaq","name":"Make an animated glowing border effect with CSS"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/scroll-state-queries-are-on-the-way-and-a-bunch-more--r5qc47cad","name":"Scroll state queries are on the way! (and a bunch more)"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/css-attribute-selectors-g9g3fuqfx","name":"CSS Attribute Selectors"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/html-css-form-tutorial-frontend-mentor-zqiwcxw37","name":"HTML \u0026 CSS form tutorial / Frontend Mentor"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/this-css-color-game-is-way-harder-than-i-expected-tqz7fwu0b","name":"This CSS Color Game is way harder than I expected"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/getting-started-with-css-style-queries-1qmhklhzr","name":"Getting started with CSS Style Queries"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/wrapper-classes-a-layout-foundation-peeloog33","name":"Wrapper Classes: A Layout Foundation"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/how-to-set-max-columns-using-auto-fit-or-auto-fill-adz8fybt7","name":"How to set max-columns using auto-fit or auto-fill"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/my-best-css-tips-from-2024-bnucklb6f","name":"My best CSS tips from 2024"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/make-this-fun-effect-that-follows-your-cursor-pure-css--wwve2qj0z","name":"Make this fun effect that follows your cursor (pure CSS)"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/centering-in-css-is-a-meme-for-the-wrong-reasons-qksl3iqib","name":"Centering in CSS is a meme for the wrong reasons"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/easily-transition-to-and-from-display-none-1opxgf1k6","name":"Easily transition to and from display none"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/you-can-scope-styles-with-vanilla-css-now-lohyqzapk","name":"You can scope styles with vanilla CSS now"}]},{"@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":"2025"}]}]}
```

