Home/Frontend
Topic

Frontend

1,512 articles on Frontend.

11,739 articles
Frontend — Masonry: Watching a CSS Feature Evolve

Masonry: Watching a CSS Feature Evolve

What can CSS Masonry discussions teach us about the development of new CSS features? What is the CSSWG’s role? What influence do browsers have? What can learn from the way past features evolved?

SMSaleh MubasharSaleh Mubashar·October 13, 2025Frontend
Frontend — Introducing the React Foundation: The New Home for React & React Native

Introducing the React Foundation: The New Home for React & React Native

Meta open-sourced React over a decade ago to help developers build better user experiences. Since then, React has grown into one of the world’s most popular open source projects, powering over 50 million websites and products built by companies such as Microsoft, Shopify, Bloomberg, Discord, Coinbase, the NFL, and many others. With React Native, React […]

CWChris Wiltz·October 7, 2025Frontend
Frontend — Accelerating our Android apps with Baseline Profiles

Accelerating our Android apps with Baseline Profiles

Key Takeways: With billions of Android app users, we’re always looking to improve the Meta app experience, and in this post, we explore the ways we’ve leveraged Android’s Baseline Profiles to significantly improve their performance. We discuss the performance challenges we’ve faced as Meta’s apps, how the needs of users have become more complex over […]

PHPhil Hornshaw·October 1, 2025Frontend
Frontend — The Big Gotcha With @starting-style

The Big Gotcha With @starting-style

CSS has been on fire lately, with tons of great new features. @starting-style is an interesting one; it allows us to use CSS transitions for enter animations, something previously reserved for CSS keyframe animations. But is the juice worth the squeeze?

JWJosh W. Comeau·September 22, 2025Frontend
Frontend — Is it Time to Un-Sass?

Is it Time to Un-Sass?

Many of the Sass features we've grown to love have made their way into native CSS in some shape or form. So, should we still use Sass? This is how developer Jeff Bridgforth is thinking about it.

JBJeff BridgforthJeff Bridgforth·September 17, 2025Frontend
Frontend — What're Your Top 4 CSS Properties?

What're Your Top 4 CSS Properties?

Everyone has a different opinion which is great because it demonstrates the messy, non-linear craft that is thinking like a front-end developer.

GGGeoff GrahamGeoff Graham·September 10, 2025Frontend
Frontend — Composition in CSS

Composition in CSS

CSS is a composable language by nature. This composition nature is already built into the cascade. We simply don't talk about composition as a Big Thing because it's the nature of the language.

ZLZell LiewZell Liew·September 8, 2025Frontend
Frontend — Color Shifting in CSS

Color Shifting in CSS

A little while ago, I was trying to animate an element’s background color, so that it cycled through the rainbow. Seems easy, but it turns out, browsers have a surprisingly big limitation when it comes to color processing! In this tutorial, we’ll dig into the issue, and I’ll share a couple of strategies you can use to work around this limitation.

JWJosh W. Comeau·September 8, 2025Frontend
Frontend — Migrating to React Native's New Architecture (2025) - Shopify

Migrating to React Native's New Architecture (2025) - Shopify

Shopify successfully migrated two of its largest apps, Shopify Mobile and Shopify Point of Sale (POS) to React Native's New Architecture while maintaining weekly releases and serving millions of merchants. This migration involved a complex codebase with hundreds of screens and native modules, extensive custom components, and deep integration with first-party libraries like FlashList.

SEShopify Engineering·September 5, 2025Frontend
Frontend — Research, Review, Rebuild

Research, Review, Rebuild

The Bahmni open-source hospital management system started over nine years ago with a front end using AngularJS and an OpenMRS REST API. We wished to convert this to use a React + TypeScript front end with an HL7 FHIR API. In exploring how to do this modernization we used a structured prompting workflow of Research, Review, and Rebuild - together with Cline, Claude 3.5 Sonnet, Atlassian MCP server,

RRRahul Ramesh·August 27, 2025Frontend
Frontend — Optimizing PWAs For Different Display Modes — Smashing Magazine

Optimizing PWAs For Different Display Modes — Smashing Magazine

Progressive Web Apps (PWAs) are a great way to make apps built for the web feel native, but in moving away from a browser environment, we can introduce usability issues. This article covers how we can modify our app depending on what display mode is applied to mitigate these issues.

DCDeclan ChidlowDeclan Chidlow·August 26, 2025Frontend
Frontend — 3D Layered Text: Interactivity and Dynamicism

3D Layered Text: Interactivity and Dynamicism

In this third and final chapter, we’re stepping into interactivity by adding JavaScript, starting with a simple :hover effect, and ending with a fully responsive bulging text that follows your mouse in real time.

ASAmit SheenAmit Sheen·August 22, 2025Frontend
Frontend — The science of loudness

The science of loudness

My watch has a “Noise” app: it shows d B , for decibels. Your browser does not support the video tag. My amp has a volume knob, which also shows decibels, although.. negative ones, this time. Your browser does not support the video tag. And finally, my video editing software has a ton of meters — which are all in decibel or decibel-adjacent units. Your browser does not support the video tag. How d

AWAmos WengerAmos Wenger·August 22, 2025Frontend
Frontend — Announcing the Cloudflare Browser Developer Program

Announcing the Cloudflare Browser Developer Program

Announcing the Browser Developer Program: Cloudflare’s new collaborative program to help shape Cloudflare challenges that work seamlessly with your browser. Get a direct communication channel, best practices guidelines, and early visibility into major updates. Join us today!

SOSallylee, Oliver PayneSallylee, Oliver Payne·August 18, 2025Frontend
Frontend — 3D Layered Text: The Basics

3D Layered Text: The Basics

A client asked me to create a bulging text effect. With a bit of cleverness and some advanced CSS, I managed to get a result I’m genuinely proud of, which is covered in this three-part series.

ASAmit SheenAmit Sheen·August 18, 2025Frontend
Frontend — An Interactive Guide to SVG Paths

An Interactive Guide to SVG Paths

SVG gives us many different primitives to work with, but by far the most powerful is the element. Unfortunately, it’s also the most inscrutable, with its compact Regex-style syntax. In this tutorial, we’ll demystify this infamous element and see some of the cool things we can do with it!

JWJosh W. Comeau·August 18, 2025Frontend
Frontend — CSS-Questions

CSS-Questions

CSS-Questions is a mini site where you can test your CSS knowledge with over 100 questions.

GGGeoff GrahamGeoff Graham·August 12, 2025Frontend
Frontend — Getting Creative With Quotes

Getting Creative With Quotes

How do you design block quotes and pull quotes to reflect a brand’s visual identity and help tell its story? Here’s how I do it by styling the HTML blockquote element using borders, decorative quote marks, custom shapes, and a few unexpected properties.

ACAndy ClarkeAndy Clarke·August 11, 2025Frontend
Frontend — Bringing Back Parallax With Scroll-Driven CSS Animations

Bringing Back Parallax With Scroll-Driven CSS Animations

Parallax is a pattern in which different elements of a webpage move at varying speeds as the user scrolls, creating a three-dimensional, layered appearance. It once required JavaScript. Now we have scroll-driven animations in CSS, which is free from the main-thread blocking that can plague JavaScript animations.

BLBlake LundquistBlake Lundquist·August 6, 2025Frontend
Frontend — Accelerating on-device ML on Meta’s family of apps with ExecuTorch

Accelerating on-device ML on Meta’s family of apps with ExecuTorch

ExecuTorch is the PyTorch inference framework for edge devices developed by Meta with support from industry leaders like Arm, Apple, and Qualcomm. Running machine learning (ML) models on-device is increasingly important for Meta’s family of apps (FoA). These on-device models improve latency, maintain user privacy by keeping data on users’ devices, and enable offline functionality. […]

CWChris Wiltz·July 28, 2025Frontend
Frontend — Web Components: Working With Shadow DOM — Smashing Magazine

Web Components: Working With Shadow DOM — Smashing Magazine

Web Components are more than just Custom Elements. Shadow DOM, HTML Templates, and Custom Elements each play a role. In this article, Russell Beswick demonstrates how Shadow DOM fits into the broader picture, explaining why it matters, when to use it, and how to apply it effectively.

RBRussell BeswickRussell Beswick·July 28, 2025Frontend
Frontend — A Friendly Introduction to SVG

A Friendly Introduction to SVG

SVGs are one of the most remarkable technologies we have access to on the web. They’re first-class citizens, fully addressable with CSS and JavaScript. In this tutorial, I’ll cover all of the most important fundamentals, and show you some of the ridiculously-cool things we can do with this massively underrated tool. ✨

JWJosh W. Comeau·July 21, 2025Frontend
Frontend — Handling JavaScript Event Listeners With Parameters — Smashing Magazine

Handling JavaScript Event Listeners With Parameters — Smashing Magazine

Event listeners are essential for interactivity in JavaScript, but they can quietly cause memory leaks if not removed properly. And what if your event listener needs parameters? That’s where things get interesting. Amejimaobari Ollornwi shares which JavaScript features make handling parameters with event handlers both possible and well-supported.

AOAmejimaobari OllornwiAmejimaobari Ollornwi·July 21, 2025Frontend
Frontend — CSS Intelligence: Speculating On The Future Of A Smarter Language — Smashing Magazine

CSS Intelligence: Speculating On The Future Of A Smarter Language — Smashing Magazine

CSS has evolved from a purely presentational language into one with growing logical powers — thanks to features like container queries, relational pseudo-classes, and the `if()` function. Is it still just for styling, or is it becoming something more? Gabriel Shoyombo explores how smart CSS has become over the years, where it is heading, the challenges it addresses, whether it is becoming too comp

GSGabriel ShoyomboGabriel Shoyombo·July 2, 2025Frontend
Frontend — The Gap Strikes Back: Now Stylable

The Gap Strikes Back: Now Stylable

Styling the space between layout items — the gap — has typically required some clever workarounds. But a new CSS feature changes all that with just a few simple CSS properties that make it easy, yet also flexible, to display styled separators between your layout items.

PBPatrick BrossetPatrick Brosset·July 1, 2025Frontend
Frontend — Meta joins Kotlin Foundation

Meta joins Kotlin Foundation

We are proud to announce that Meta has officially joined the Kotlin Foundation as a gold member, marking a significant milestone in our ongoing commitment to Kotlin and the broader Android development ecosystem. Over the past several years, Meta engineers have been actively migrating our extensive Android codebase—comprising tens of millions of lines—from Java to […]

CWChris Wiltz·June 30, 2025Frontend
Frontend — CSS Blob Recipes

CSS Blob Recipes

Blob, Blob, Blob. What's the most effective way to create blob shapes in CSS? Turns out, as always, there are many. Let's compare them together!

JDJuan Diego RodríguezJuan Diego Rodríguez·June 27, 2025Frontend
Frontend — KelpUI

KelpUI

KelpUI is new library that Chris Ferdinandi is developing, designed to leverage newer CSS features and Web Components. I've enjoyed following Chris as he's published an ongoing series of articles detailing his thought process behind the library, getting deep into his approach. You really get a clear picture of his strategy and I love it.

GGGeoff GrahamGeoff Graham·June 26, 2025Frontend
Frontend — Decoding The SVG path Element: Curve And Arc Commands — Smashing Magazine

Decoding The SVG path Element: Curve And Arc Commands — Smashing Magazine

On her quest to teach you how to code vectors by hand, Myriam Frisano’s second installment of a `path` deep dive explores the most complex aspects of SVG’s most powerful element. She’ll help you understand the underlying rules and function of how curves and arcs are constructed. By the end of it, your toolkit is ready to tackle all types of tasks required to draw with code — even if some of the li

MFMyriam FrisanoMyriam Frisano·June 23, 2025Frontend
Frontend — CSS Color Functions

CSS Color Functions

CSS has a number of functions that can be used to set, translate, and manipulate colors. Learn what they are and how they are used with a bunch of examples to get you started.

SFSunkanmi FafoworaSunkanmi Fafowora·June 19, 2025Frontend
Frontend — How to Keep Up With New CSS Features

How to Keep Up With New CSS Features

How do you stay informed of new CSS features when the language evolves quickly and information is spread all around the web? Sacha Greif has some tips from his work running an annual survey focused on new CSS features.

SGSacha GreifSacha Greif·June 17, 2025Frontend
Frontend — Breaking Boundaries: Building a Tangram Puzzle With (S)CSS

Breaking Boundaries: Building a Tangram Puzzle With (S)CSS

We put it to the test and it turns out Sass can replace JavaScript, at least when it comes to low-level logic and puzzle behavior. With nothing but maps, mixins, functions, and a whole lot of math, we managed to bring our Tangram puzzle to life, no JavaScript required.

SSSladjana StojanovicSladjana Stojanovic·June 12, 2025Frontend
Frontend — Creating The “Moving Highlight” Navigation Bar With JavaScript And CSS — Smashing Magazine

Creating The “Moving Highlight” Navigation Bar With JavaScript And CSS — Smashing Magazine

In this tutorial, Blake Lundquist walks us through two methods of creating the “moving-highlight” navigation pattern using only plain JavaScript and CSS. The first technique uses the `getBoundingClientRect` method to explicitly animate the border between navigation bar items when they are clicked. The second approach achieves the same functionality using the new View Transition API.

BLBlake LundquistBlake Lundquist·June 11, 2025Frontend
Frontend — Partial Keyframes

Partial Keyframes

CSS Keyframe animations are so much more powerful than most developers realize. In this tutorial, I’ll show you something that completely blew my mind, a technique that makes our keyframe animations so much more reusable and dynamic! 🤯

JWJosh W. Comeau·June 10, 2025Frontend
Frontend — Creating an Auto-Closing Notification With an HTML Popover

Creating an Auto-Closing Notification With an HTML Popover

The HTML popover attribute transforms elements into top-layer elements that can be opened and closed with a button or JavaScript. Popovers can be dismissed a number of ways, but there is no option to auto-close them. Preethi has a technique you can use.

PPreethiPreethi·June 9, 2025Frontend
Frontend — Decoding The SVG path Element: Line Commands — Smashing Magazine

Decoding The SVG path Element: Line Commands — Smashing Magazine

SVG is easy — until you meet `path`. However, it’s not as confusing as it initially looks. In this first installment of a pair of articles, Myriam Frisano aims to teach you the basics of `` and its sometimes mystifying commands. With simple examples and visualizations, she’ll help you understand the easy syntax and underlying rules of SVG’s most powerful element so that by the end, you’re fully ab

MFMyriam FrisanoMyriam Frisano·June 9, 2025Frontend
Frontend — Exploring the CSS contrast-color() Function… a Second Time

Exploring the CSS contrast-color() Function… a Second Time

The contrast-color() function doesn’t check color contrast, but rather it outright resolves to either black or white (whichever one contrasts the most with your chosen color). Safari Technology Preview recently implemented it and we explore its possible uses in this article.

DSDaniel SchwarzDaniel Schwarz·June 5, 2025Frontend
Frontend — The State of CSS 2025 Survey is out!

The State of CSS 2025 Survey is out!

The State of CSS 2025 Survey dropped a few days ago, and besides anticipating the results, it's exciting to see a lot of the new things shipped to CSS reflected in the questions.

JDJuan Diego RodríguezJuan Diego Rodríguez·June 5, 2025Frontend
Frontend — Getting Creative With HTML Dialog

Getting Creative With HTML Dialog

So, how can you take dialogue box design beyond the generic look of frameworks and templates? How can you style them to reflect a brand’s visual identity and help to tell its stories? Here’s how I do it in CSS using ::backdrop, backdrop-filter, and animations.

ACAndy ClarkeAndy Clarke·June 3, 2025Frontend