Home/Frontend
Topic

Frontend

2,065 articles on Frontend.

13,309 articles
Frontend — Early Days of Container Style Queries

Early Days of Container Style Queries

We're still in suuuuuper early days with container queries. Too early for broad browser support, but Chromium already supports it, Safari started supporting

GGGeoff GrahamGeoff Graham·October 12, 2022Frontend
Frontend — JS13K 2022 winners 🏆

JS13K 2022 winners 🏆

The eleventh annual js13kGames coding competition, challenging participants to create games in 13kB or less of JavaScript in a month, just wrapped up. This post highlights the top thirteen entries.

LRLee ReillyLee Reilly·October 6, 2022Frontend
Frontend — State of CSS 2022 Survey Now Open

State of CSS 2022 Survey Now Open

The State of CSS survey recently opened up. Last year, the survey confirmed everyone's assumptions that TailwindCSS is super popular and CSS variables are

GGGeoff GrahamGeoff Graham·October 4, 2022Frontend
Frontend — Launching a new Chromium-based WebView for Android

Launching a new Chromium-based WebView for Android

Our in-app browser for Facebook on Android has historically relied on an Android System WebView based on Chromium, the open source project that powers many browsers on Android and other operating systems. On other mobile operating systems, the System WebView component cannot be updated without updating the entire operating system. On Android, this works differently, […]

CWChris Wiltz·September 30, 2022Frontend
Frontend — JavaScript APIs You Don’t Know About — Smashing Magazine

JavaScript APIs You Don’t Know About — Smashing Magazine

In this article, Juan Diego covers the least known yet extremely useful APIs, such as the Page Visibility API, Web Sharing API, Broadcast Channel API and Internationalization API. Together we will see what they are, where we should use them, and how to use them.

JDJuan Diego RodriguezJuan Diego Rodriguez·September 14, 2022Frontend
Frontend — How I Made a Pure CSS Puzzle Game

How I Made a Pure CSS Puzzle Game

I recently discovered the joy of creating CSS-only games. It’s always fascinating how HTML and CSS are capable of handling the logic of an entire online game,

TATemani AfifTemani Afif·September 9, 2022Frontend
Frontend — What’s New With Forms in 2022?

What’s New With Forms in 2022?

Browsers are constantly adding new HTML, JavaScript and CSS features. Here are some useful additions to working with forms that you might have missed…

OWOllie WilliamsOllie Williams·September 8, 2022Frontend
Frontend — Behind the CSScenes, September 2022

Behind the CSScenes, September 2022

Those of you who have been reading CSS-Tricks for a while may remember that we used to publish a little thing we called CSS-Tricks Chronicles. Our friend

HMHaley Mills·September 1, 2022Frontend
Frontend — Useful JavaScript Data Grid Libraries — Smashing Magazine

Useful JavaScript Data Grid Libraries — Smashing Magazine

In this article, Zara Cooper provides a rundown of some popular data grid libraries that would be a great addition to any data-heavy application and shares recommendations on what factors to consider when choosing a suitable data grid library.

ZCZara CooperZara Cooper·September 1, 2022Frontend
Frontend — Understanding useMemo and useCallback

Understanding useMemo and useCallback

What's the deal with these two hooks?! Lots of devs find them confusing, for a whole host of reasons. In this tutorial, we'll dig deep and understand what they do, why they're useful, and how to get the most out of them.

JWJosh W. Comeau·August 30, 2022Frontend
Frontend — CSS Grid and Custom Shapes, Part 2

CSS Grid and Custom Shapes, Part 2

Alright, so the last time we checked in, we were using CSS Grid and combining them with CSS clip-path and mask techniques to create grids with fancy shapes.

TATemani AfifTemani Afif·August 22, 2022Frontend
Frontend — CSS Grid and Custom Shapes, Part 1

CSS Grid and Custom Shapes, Part 1

In a previous article, I looked at CSS Grid's ability to create complex layouts using its auto-placement powers. I took that one step further in another

TATemani AfifTemani Afif·August 15, 2022Frontend
Frontend — Zooming Images in a Grid Layout

Zooming Images in a Grid Layout

Creating a grid of images is easy, thanks to CSS Grid. But making the grid do fancy things after the images have been placed can be tricky to pull off.

TATemani AfifTemani Afif·August 8, 2022Frontend
Frontend — Migration From jQuery to Next.js: A Guide — Smashing Magazine

Migration From jQuery to Next.js: A Guide — Smashing Magazine

This guide will show you how to migrate your jQuery site to [React](/category/React) with [Next.js](/category/next.js) – which is a significant undertaking, especially for big code bases. However, this migration allows you to use newer concepts (such as data fetching at build time) to help with our code

SRSam RobbinsSam Robbins·August 3, 2022Frontend
Frontend — Fluid Sizing Instead Of Multiple Media Queries? — Smashing Magazine

Fluid Sizing Instead Of Multiple Media Queries? — Smashing Magazine

If you like math and CSS, you’ll love this one. We don’t need to use media queries to change the values of some CSS properties — *font-size*, *padding*, *margin* etc. — depending on the viewport width, with the CSS `clamp` function. But: we still need to use media queries for changing colors, borders, shadows and other CSS styles.

RYRuslan YevychRuslan Yevych·August 1, 2022Frontend
Frontend — Recreating MDN's Truncated Text Effect

Recreating MDN's Truncated Text Effect

It's no secret that MDN rolled out a new design back in March. It's gorgeous! And there are some sweet CSS-y gems in it that are fun to look at. One of those

GGGeoff GrahamGeoff Graham·July 28, 2022Frontend
Frontend — Testable Frontend: The Good, The Bad And The Flaky — Smashing Magazine

Testable Frontend: The Good, The Bad And The Flaky — Smashing Magazine

How to organize their testing between unit, integration, and E2E testing and how to test their UI components? Testing is not just about tools and processes. It’s about architecture. In this article, Noam Rosenthal will share his experience on how to organize testing and find the right balance between front-end and subsystems and between different strategies.

NRNoam RosenthalNoam Rosenthal·July 28, 2022Frontend
Frontend — Launching Instagram Messaging on desktop

Launching Instagram Messaging on desktop

In 2020 we launched Instagram Messaging (referred to in this post simply as “Messaging”) for personal desktop computers. We believe that this feature will improve everyday experiences and enable new use cases for all of our desktop web users. In this post, we go through some of our overall learnings from our desktop users, and […]

CWChris Wiltz·July 26, 2022Frontend
Frontend — vs. : How To Choose The Right One — Smashing Magazine

vs. : How To Choose The Right One — Smashing Magazine

We may tend to think largely in terms of end-users when it comes to HTML. However, writing HTML that is easy to understand and self-explanatory for whoever will work on it is sufficient reason to use the correct semantic element. In this article, Olushuyi explores a mental model that helps you decide between the `` and `` elements when writing documents. You will explore how grouping content affec

OOOlushuyi OlutimilehinOlushuyi Olutimilehin·July 25, 2022Frontend
Frontend — Building text animations for Instagram Stories

Building text animations for Instagram Stories

In August 2020, Instagram launched a set of dynamic and fun text styles followed by animations to give people more choices to express themselves on Stories and Reels. This was the first major update to Stories’ text tools since 2016, and we wanted to share how we approached some obstacles we encountered and what we […]

MEMeta Engineering·July 18, 2022Frontend
Frontend — React Hooks: The Deep Cuts

React Hooks: The Deep Cuts

Hooks are reusable functions. They allow you to use state and other features (e.g. lifecycle methods and so on) without writing a class. Hook functions let us

BEBlessing Ene Anyebe·July 13, 2022Frontend