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

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

1. 1  
[](/posts/liquid-glass-on-the-web-frontend-masters-blog-ylbrjgz30 "Liquid Glass on the Web – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
5m read time • Jul 29, 2025  
### Liquid Glass on the Web – Frontend Masters Blog  
Apple's new Liquid Glass design aesthetic for version 26 operating systems creates complex visual effects with light refraction, distortion, and frosted glass appearances. Web developers are recreating this look using CSS backdrop-filter, SVG filters like feDisplacementMap and feGaussianBlur, and React components. The technique involves multiple parameters including displacement scale, blur amount, saturation, and aberration intensity. However, implementing liquid glass effects raises significant text contrast accessibility concerns that developers must carefully address when placing text over unknown backgrounds.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2e8d34bde24f76b83808939216009530?_a=AQAEulh)  
193  
13
2. 2  
[](/posts/introducing-zustand-state-management-frontend-masters-blog-uckta2ezb "Introducing Zustand (State Management) – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
11m read time • Jul 21, 2025  
### Introducing Zustand (State Management) – Frontend Masters Blog  
Zustand is a minimal state management library for React that offers a simpler alternative to React Context with better performance. Unlike Context, which re-renders all consumers when any state changes, Zustand allows selective subscriptions through selector functions, reducing unnecessary re-renders. The library provides a clean API using a create function to define stores and supports async operations, external state access, and fine-grained subscriptions. The post demonstrates three implementations of the same task management app: vanilla React Context, basic Zustand usage, and optimized Zustand with selectors, showing how proper selector usage prevents excessive re-rendering.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/131139f2c29bfb6bcdc284428b45ce70?_a=AQAEulh)  
134  
13
3. 3  
[](/posts/the-two-button-problem-frontend-masters-blog-56i2s1wtl "The Two Button Problem – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
4m read time • Oct 21, 2025  
### The Two Button Problem – Frontend Masters Blog  
Explores a common interface design flaw where two buttons with different visual styles make it unclear which one is currently active or will be activated next. The problem is especially pronounced on devices without cursors (TVs, game consoles) where keyboard or remote navigation is required. Solutions include using consistent button styles with additive indicators for the active state, directional arrows, CSS media queries to detect input methods, and pressed/unpressed visual states for toggle buttons. The key principle is making the active state obviously distinct rather than relying on arbitrary style differences.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/74d04ce87ad4b918cdda2f1216b4e741?_a=AQAEulh)  
122  
6
4. 4  
[](/posts/stop-using-customevent-frontend-masters-blog-3ffym3p4d "Stop Using CustomEvent – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
1m read time • Nov 20, 2025  
### Stop Using CustomEvent – Frontend Masters Blog  
Justin Fagnani argues against using CustomEvent in JavaScript, advocating instead for subclassing the Event class directly. The main benefit is that consumers can access event data as direct properties rather than having to extract it from the details property, resulting in cleaner and more intuitive API design.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ea0f7b9b72bc7e0f6a2882098f365b42?_a=AQAEulh)  
66  
5
5. 5  
[](/posts/react-internals-which-useeffect-runs-first-frontend-masters-blog-nnt5uoogh "React Internals: Which useEffect runs first? – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
6m read time • Apr 28, 2025  
### React Internals: Which useEffect runs first? – Frontend Masters Blog  
The post explains the execution order of useEffect hooks in React, highlighting that child components' useEffect hooks run before their parents', due to the React Fiber architecture and its traversal algorithm. Understanding these internals can help developers prevent subtle bugs in complex components.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/17b3d0017c4a85b8378b8efc813e6acb?_a=AQAEuj9)  
59  
2
6. 6  
[](/posts/advanced-postgresql-indexing-multi-key-queries-and-performance-optimization-frontend-masters-blog-j9khxcptz "Advanced PostgreSQL Indexing: Multi-Key Queries and Performance Optimization – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
15m read time • Sep 03, 2025  
### Advanced PostgreSQL Indexing: Multi-Key Queries and Performance Optimization – Frontend Masters Blog  
Explores advanced PostgreSQL indexing techniques for multi-key queries and performance optimization. Demonstrates how to create composite indexes on publisher and title columns to dramatically improve query performance from seconds to milliseconds. Shows practical solutions for querying multiple publishers using CTEs and lateral joins, explaining when and why different execution plans are chosen. Provides real-world examples with a 90-million record books table, illustrating how proper index design and query structure can achieve sub-millisecond performance even with complex multi-publisher queries.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/a26e424701ba8b76710abea2c5af3dae?_a=AQAEulh)  
30
7. 7  
[](/posts/grainy-gradients-frontend-masters-blog-cxxnckj56 "Grainy Gradients – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
18m read time • Jun 13, 2025  
### Grainy Gradients – Frontend Masters Blog  
Explores advanced techniques for eliminating gradient banding by using SVG displacement maps instead of traditional noise layering. The approach uses feTurbulence and feDisplacementMap to create grainy effects without altering the original gradient colors, offering better visual results than previous methods that darkened or oversaturated gradients.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/38c5d45cb1c7e1c72d805c56d94b2afa?_a=AQAEulh)  
26
8. 8  
[](/posts/sharing-a-variable-across-html-css-and-javascript-frontend-masters-boost-kywpflp7y "Sharing a Variable Across HTML, CSS, and JavaScript – Frontend Masters Boost")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
3m read time • Jan 08, 2025  
### Sharing a Variable Across HTML, CSS, and JavaScript – Frontend Masters Boost  
A fun project created a word search puzzle maker using HTML, CSS, and JavaScript. The grid size is set using a variable shared across all three languages. This approach involves defining the variable in Pug (which compiles to HTML), passing it to JavaScript to manipulate the DOM, and to CSS for styling. The use of this shared variable streamlines the development process and makes the code easier to maintain.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/294e1dce624a1625a6078e05c497e7ac?_a=AQAEuj9)  
24
9. 9  
[](/posts/introduction-to-postgres-indexes-frontend-masters-blog-ua497z0ze "Introduction to Postgres Indexes – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
21m read time • Sep 01, 2025  
### Introduction to Postgres Indexes – Frontend Masters Blog  
A comprehensive guide to PostgreSQL B-Tree indexes covering how they store data on disk, navigate through internal nodes, and speed up queries. Explores practical examples with a 90-million record database, demonstrating index scans, bitmap scans, covering indexes, and the INCLUDE clause. Shows how indexes can sometimes hurt performance when the query optimizer makes suboptimal choices, and explains concepts like heap fetches, visibility tables, and the difference between index scans and index-only scans.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f1f711e05806c601cc3e3f57bbb254d2?_a=AQAEulh)  
16
10. 10  
[](/posts/chrome-devtools-mcp-frontend-masters-blog-ktq6tfe99 "chrome-devtools-mcp – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
1m read time • Oct 27, 2025  
### chrome-devtools-mcp – Frontend Masters Blog  
Chrome DevTools MCP is a server that enhances AI coding agents by providing browser context including DOM structure, network activity, and console messages. This allows AI tools to verify their code changes directly in the browser rather than relying solely on assumptions, potentially improving the accuracy of AI-generated web development code.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/aae5c6e2424a885308de6f79681bc1b7?_a=AQAEulh)  
15  
1
11. 11  
[](/posts/replace-your-animated-gifs-with-svgs-frontend-masters-blog-lxqgp5qyh "Replace Your Animated GIFs with SVGs – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
10m read time • Sep 15, 2025  
### Replace Your Animated GIFs with SVGs – Frontend Masters Blog  
Animated SVGs can replace heavy animated GIFs with dramatically smaller file sizes while maintaining infinite scalability. The technique involves embedding CSS animations directly within SVG files, which continue to work when loaded via img tags or background-image properties. A zombie accordion example demonstrates 98% file size reduction compared to GIF equivalent. Some media queries work within SVGs, but limitations include no hover effects, no prefers-reduced-motion support, and restricted JavaScript execution.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/e0304c0003feac69db95f0b69c80f7b2?_a=AQAEulh)  
12  
1
12. 12  
[](/posts/thoughts-on-native-css-mixins-frontend-masters-blog-wvt8d5ikq "Thoughts on Native CSS Mixins – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
9m read time • Dec 11, 2025  
### Thoughts on Native CSS Mixins – Frontend Masters Blog  
Native CSS mixins are being developed by the CSS Working Group, inspired by Sass's @mixin feature. The proposal would allow reusable style blocks using @mixin and @apply syntax, potentially eliminating duplicate code from preprocessor output and integrating with CSS custom properties for dynamic styling. Key open questions include parameter handling, variable scoping (private vs. public), source order resolution, and whether mixins can be "unapplied." This could enable third-party CSS libraries similar to how jQuery plugins and JavaScript components work, while offering more power than preprocessors through runtime custom property evaluation.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/4dddf74c544a6bad494bcecb0689c313?_a=AQAEulh)  
11
13. 13  
[](/posts/blur-1px-blur-1px-frontend-masters-blog-tn9ua8kfv "blur(1px) blur(1px) – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
1m read time • Jul 07, 2025  
### blur(1px) blur(1px) – Frontend Masters Blog  
CSS filter properties can be chained together, and applying the same filter multiple times creates a stacking effect rather than overriding. For example, \`blur(1px) blur(1px)\` produces a different visual result than \`blur(2px)\`, demonstrating how multiple instances of the same filter function accumulate their effects.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d05e67ecd3a707e8bd93db5c64592561?_a=AQAEulh)  
11  
1
14. 14  
[](/posts/curved-box-cutouts-in-css-frontend-masters-blog-5heq7u06h "Curved Box Cutouts in CSS – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
4m read time • May 01, 2025  
### Curved Box Cutouts in CSS – Frontend Masters Blog  
Learn how to create visually appealing card modules in CSS with curved box cutouts. This guide explains how to use CSS to give the illusion of a secondary element with gaps and curved edges, leveraging border-radius and radial-gradient techniques. CSS variables are utilized to keep the style flexible. The method is straightforward and primarily affects the background, suitable for simple design applications.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/38a0a2f0dab4aad5ff6e6f85cc766d82?_a=AQAEuj9)  
11  
1
15. 15  
[](/posts/html-css-for-a-one-time-password-input-frontend-masters-boost-zhi2wd0g3 "HTML & CSS for a One-Time Password Input – Frontend Masters Boost")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
4m read time • Feb 05, 2025  
### HTML & CSS for a One-Time Password Input – Frontend Masters Boost  
The post discusses the design and implementation issues with One-Time Password (OTP) input fields, specifically the common approach of using separate text boxes for each digit. It highlights the user experience challenges and the complexity added by this method. An alternative approach using a single input field styled with background images is explored, emphasizing simplification and improved user interaction.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/89c3652eb747ca7f54d165491a503927?_a=AQAEuj9)  
11
16. 16  
[](/posts/custom-select-that-comes-up-from-the-bottom-on-mobile-frontend-masters-blog-oco1j5aa9 "Custom Select (that comes up from the bottom on mobile) – Frontend Masters Blog")  
[![frontendmasters's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f)](/sources/[source]/best-of/[year])  
7m read time • Jul 01, 2025  
### Custom Select (that comes up from the bottom on mobile) – Frontend Masters Blog  
Modern browsers now support custom styling of select elements using appearance: base-select, enabling developers to create visually appealing dropdowns with glass effects, animations, and mobile-optimized positioning. The technique uses progressive enhancement, allowing fallback to default select behavior in unsupported browsers. Key features include animated picker icons, staggered option animations, and bottom-anchored positioning on mobile devices for better thumb accessibility.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c0744d3af4f2bfd980010db206acdcbf?_a=AQAEulh)  
10

[See all Frontend Masters archives](/sources/frontendmasters/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/frontendmasters/best-of/2025#page","url":"https://daily.dev/sources/frontendmasters/best-of/2025","name":"Best Frontend Masters Posts of 2025","description":"The most upvoted Frontend Masters posts of 2025, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/frontendmasters/best-of/2025#items","numberOfItems":16,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/liquid-glass-on-the-web-frontend-masters-blog-ylbrjgz30","name":"Liquid Glass on the Web – Frontend Masters Blog"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/introducing-zustand-state-management-frontend-masters-blog-uckta2ezb","name":"Introducing Zustand (State Management) – Frontend Masters Blog"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/the-two-button-problem-frontend-masters-blog-56i2s1wtl","name":"The Two Button Problem – Frontend Masters Blog"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/stop-using-customevent-frontend-masters-blog-3ffym3p4d","name":"Stop Using CustomEvent – Frontend Masters Blog"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/react-internals-which-useeffect-runs-first-frontend-masters-blog-nnt5uoogh","name":"React Internals: Which useEffect runs first? – Frontend Masters Blog"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/advanced-postgresql-indexing-multi-key-queries-and-performance-optimization-frontend-masters-blog-j9khxcptz","name":"Advanced PostgreSQL Indexing: Multi-Key Queries and Performance Optimization – Frontend Masters Blog"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/grainy-gradients-frontend-masters-blog-cxxnckj56","name":"Grainy Gradients – Frontend Masters Blog"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/sharing-a-variable-across-html-css-and-javascript-frontend-masters-boost-kywpflp7y","name":"Sharing a Variable Across HTML, CSS, and JavaScript – Frontend Masters Boost"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/introduction-to-postgres-indexes-frontend-masters-blog-ua497z0ze","name":"Introduction to Postgres Indexes – Frontend Masters Blog"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/chrome-devtools-mcp-frontend-masters-blog-ktq6tfe99","name":"chrome-devtools-mcp – Frontend Masters Blog"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/replace-your-animated-gifs-with-svgs-frontend-masters-blog-lxqgp5qyh","name":"Replace Your Animated GIFs with SVGs – Frontend Masters Blog"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/thoughts-on-native-css-mixins-frontend-masters-blog-wvt8d5ikq","name":"Thoughts on Native CSS Mixins – Frontend Masters Blog"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/blur-1px-blur-1px-frontend-masters-blog-tn9ua8kfv","name":"blur(1px) blur(1px) – Frontend Masters Blog"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/curved-box-cutouts-in-css-frontend-masters-blog-5heq7u06h","name":"Curved Box Cutouts in CSS – Frontend Masters Blog"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/html-css-for-a-one-time-password-input-frontend-masters-boost-zhi2wd0g3","name":"HTML \u0026 CSS for a One-Time Password Input – Frontend Masters Boost"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/custom-select-that-comes-up-from-the-bottom-on-mobile-frontend-masters-blog-oco1j5aa9","name":"Custom Select (that comes up from the bottom on mobile) – Frontend Masters Blog"}]},{"@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":"Frontend Masters","item":"https://daily.dev/sources/frontendmasters"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/frontendmasters/best-of"},{"@type":"ListItem","position":5,"name":"2025"}]}]}
```

