Home/Frontend
Topic

Frontend

2,065 articles on Frontend.

13,309 articles
Frontend — A CSS Grid Framework For Shopify Collection Pages — Smashing Magazine

A CSS Grid Framework For Shopify Collection Pages — Smashing Magazine

All pages of a Shopify online store can adopt CSS Grid, but one obvious touchpoint of any e-commerce site that can benefit from a robust and clean grid layout is the collection page. In this article, Liam Griffin will be looking at how to set up a grid layout for products on your collection pages, and how to use Shopify’s section settings to create customizable options in the online store editor.

LGLiam GriffinLiam Griffin·September 22, 2020Frontend
Frontend — Pre-Caching Images with React Suspense

Pre-Caching Images with React Suspense

Suspense is an exciting, upcoming feature of React that will enable developers to easily allow their components to delay rendering until they’re “ready,”

ARAdam RackisAdam Rackis·September 21, 2020Frontend
Frontend — A Friendly Introduction to Spring Physics

A Friendly Introduction to Spring Physics

Of all the little tips and techniques I've picked up over the years about animation, spring physics remains one of the most powerful and flexible. In this tutorial, we'll learn how to harness their power to build fluid, organic transitions.

JWJosh W. Comeau·September 21, 2020Frontend
Frontend — Vue 3

Vue 3

It's out! Congrats to the Vue team for getting it done, I know it was a massive effort and a long time coming. All new docs, as well.

CCChris Coyier·September 18, 2020Frontend
Frontend — Comparing Styling Methods In Next.js — Smashing Magazine

Comparing Styling Methods In Next.js — Smashing Magazine

Among others, [Next.js](https://nextjs.org) has dubbed itself: *The React Framework for Static Websites*. But just like every other framework whose goal is to help you build what matters by abstracting common, redundant tasks, you’re often required to learn something new and opinionated. With Next.js, one of the things you need to know is how to integrate different CSS methods with its API, and th

AAAdebiyi AdedotunAdebiyi Adedotun·September 17, 2020Frontend
Frontend — Lessons Learned from Sixty Days of Re-Animating Zombies with Hand-Coded CSS

Lessons Learned from Sixty Days of Re-Animating Zombies with Hand-Coded CSS

I’ll be linking to individual Pens as I discuss the lessons I learned, but if you’d like to get a sense of the entire project, check out 60 days of Animation on Undead Institute. I started this project to end on August 1st, 2020, coinciding with the publication of a book I wrote featuring CSS animation, humor, and zombies — because, obviously, zombies will destroy the world if you don’t brandish y

JRJohn RheaJohn Rhea·September 16, 2020Frontend
Frontend — Editing HTML Like A Boss In VS Code

Editing HTML Like A Boss In VS Code

Here's a seven minute video from Caleb Porzio that focuses on some of Emmet's HTML editing features. You might think of Emmet as that thing that expands

CCChris Coyier·September 16, 2020Frontend
Frontend — What is the Value of Browser Diversity?

What is the Value of Browser Diversity?

In 2018, Rachel Nabors made the point that browser diversity is similar to biological ecosystem diversity. There are literal advantages to more diversity.

CCChris Coyier·September 15, 2020Frontend
Frontend — Chapter 4: Search

Chapter 4: Search

After an influx of rapid browser development following the creation of the web, Mosaic becomes the popular choice. Recognizing the commercial potential of the

JHJay Hoffmann·September 15, 2020Frontend
Frontend — Interaction Media Features and Their Potential (for Incorrect Assumptions)

Interaction Media Features and Their Potential (for Incorrect Assumptions)

The Media Queries Level 4 Interaction Media Features — pointer, hover, any-pointer and any-hover — are meant to allow sites to implement different styles and functionality (either CSS-specific interactivity like :hover, or JavaScript behaviors, when queried using window.matchMedia), depending on the particular characteristics of a user’s input device.

PHPatrick H. LaukePatrick H. Lauke·September 14, 2020Frontend
Frontend — Animating React Components With GreenSock — Smashing Magazine

Animating React Components With GreenSock — Smashing Magazine

GreenSock Animation Platform (GSAP) is a set JavaScript functions that let you tween a value/attribute/CSS property over time and insert these tweens into a timeline for more complex animations. In this article, Blessing explains how GSAP plays well with the React library by integrating its functions into a React component in building an example landing page with a variety of animations.

BKBlessing KrofeghaBlessing Krofegha·September 14, 2020Frontend
Frontend — Migrating cdnjs to serverless with Workers KV

Migrating cdnjs to serverless with Workers KV

Cloudflare powers cdnjs, an open-source project that delivers popular JavaScript libraries to over 11% of websites. Today, we are excited to announce its migration to a serverless infrastructure using Cloudflare Workers and its distributed key-value store Workers KV!

TTylerTyler·September 10, 2020Frontend
Frontend — How CSS Perspective Works

How CSS Perspective Works

As someone who loves creating CSS animations, one of the more powerful tools I use is perspective. While the perspective property is not capable of 3D effects

ASAmit SheenAmit Sheen·September 9, 2020Frontend
Frontend — Tophatting in React Native - Shopify

Tophatting in React Native - Shopify

To provide a more convenient and painless experience, we built a tool enabling React Native developers to quickly load their peer’s work within seconds.

SEShopify Engineering·September 9, 2020Frontend
Frontend — How To Build A Blog With Next And MDX — Smashing Magazine

How To Build A Blog With Next And MDX — Smashing Magazine

In this guide, Ibrahima Ndaw will be looking at Next.js, a popular React framework that offers a great developer experience and ships with all of the features you need for production. We will also build a blog, step by step, using Next.js and MDX. Finally, we’ll cover why you would opt for Next.js instead of “vanilla” React and alternatives such as Gatsby.

INIbrahima NdawIbrahima Ndaw·September 9, 2020Frontend
Frontend — Menu Reveal By Page Rotate Animation

Menu Reveal By Page Rotate Animation

There are many different approaches to menus on websites. Some menus are persistent, always in view and display all the options. Other menus are hidden by

PPreethiPreethi·September 8, 2020Frontend
Frontend — All the Ways to Make a Web Component

All the Ways to Make a Web Component

This is a neat page that compares a ton of different libraries with web components. One of the things I learned after posting "A Bit on Web Components

CCChris Coyier·September 7, 2020Frontend
Frontend — How To Automate API Testing With Postman — Smashing Magazine

How To Automate API Testing With Postman — Smashing Magazine

Postman allows you to manually test your APIs in both its desktop and web-based applications. However, it also has the ability for you to automate these tests by writing JavaScript assertions on your API endpoints. In this article, Kelvin Omereshone will learn how to write automated tests on web APIs with Postman. In order to follow along to this tutorial, you’ll need at least a fair amount of fam

KOKelvin OmereshoneKelvin Omereshone·September 7, 2020Frontend
Frontend — Building A Component Library With React And Emotion — Smashing Magazine

Building A Component Library With React And Emotion — Smashing Magazine

A component library helps to keep a design consistent across multiple projects. It ensures consistency because any changes made will propagate across the projects that make use of it. In this tutorial, Ademola Adegbuyi will show you how to build a component library, using Emotion in React to resolve inconsistencies. At the end of this piece, you should be able to create a component library that fi

AAAdemola AdegbuyiAdemola Adegbuyi·September 4, 2020Frontend
Frontend — 5 Ways to Improve Your React Native Styling Workflow - Shopify

5 Ways to Improve Your React Native Styling Workflow - Shopify

In April, we announced Shop, our digital shopping assistant that brings together the best features of Arrive and Shop Pay. The Shop app started from our React Native codebase for our previous package tracking app Arrive, with every screen receiving a complete visual overhaul to fit the new branding. While our product designers worked on introducing a whole new design system that would decide the l

SEShopify Engineering·September 2, 2020Frontend
Frontend — Everything Developers Need To Know About Figma — Smashing Magazine

Everything Developers Need To Know About Figma — Smashing Magazine

Figma is a design tool that is rapidly gaining popularity and becoming more common in companies around the world. Unlike most design software, Figma is free and browser-based so developers can easily access the full design files making the developer handoff process significantly smoother. With article, Jurn van Wissen teaches developers who have nothing but a basic understanding of design tools ev

JVJurn Van WissenJurn Van Wissen·September 2, 2020Frontend
Frontend — Building React Apps With Storybook — Smashing Magazine

Building React Apps With Storybook — Smashing Magazine

In this article, Abdulazeez Adeshina will show you what storybook is about and how to use it to build and test React components by building a simple application. He’ll start with a basic example that shows how to work with storybook, then will go ahead to create a storybook for a Table component which will hold students’ data. You should have basic knowledge of React and the use of NPM before proc

AAAbdulazeez AdeshinaAbdulazeez Adeshina·September 1, 2020Frontend
Frontend — Copy the Browser's Native Focus Styles

Copy the Browser's Native Focus Styles

Remy documented this the other day. Firefox supports a Highlight keyword and both Chrome and Safari support a -webkit-focus-ring-color keyword. So if you, for

CCChris Coyier·August 28, 2020Frontend
Frontend — Morphing SVG With react-spring

Morphing SVG With react-spring

I’ve been intrigued by the morphing effect ever since I was a little kid. There’s something about a shape-shifting animation that always captures my

MAMikael AinalemMikael Ainalem·August 26, 2020Frontend
Frontend — Using Mobx As A State Manager In React Native Applications — Smashing Magazine

Using Mobx As A State Manager In React Native Applications — Smashing Magazine

MobX is a battle-tested library that makes state management simple and scalable by transparently applying functional reactive programming. It treats your application like a spreadsheet, and it’s one of the many state management tools available to React developers. In this tutorial, Fortune Ikechi is going to show you how to use MobX to manage state in React Native applications by building a React

FIFortune Ikechi·August 26, 2020Frontend
Frontend — Plyr: CSS Styleable Video Player

Plyr: CSS Styleable Video Player

I just stumbled across Plyr from Sam Potts, a JavaScript library for styled video players. What struck me about it is that you can list YouTube videos as the

CCChris Coyier·August 19, 2020Frontend
Frontend — What Happens When Border Radii Overlap?

What Happens When Border Radii Overlap?

I’d wager that most times we’re rounding box corners in CSS, we’re applying a uniform border-radius value across the border. It’s a nice touch of polish in

JSJay Sitter·August 17, 2020Frontend
Frontend — Mastering Props And PropTypes In React — Smashing Magazine

Mastering Props And PropTypes In React — Smashing Magazine

Props and PropTypes are an important mechanism for passing information between React components, and we’re going to look into them in great detail here. This tutorial will introduce you to the details about props, passing and accessing props, and passing information to any component using props. However, it’s always a good practice to validate the data we are getting through props by using PropTyp

ADAdeneye David AbiodunAdeneye David Abiodun·August 17, 2020Frontend
Frontend — CSS-Tricks Chronicle XXXIX

CSS-Tricks Chronicle XXXIX

Hey gang! I've been fortunate enough to be a guest in a variety of different here, so I thought it was time for another Chronicle post. You know, those

CCChris Coyier·August 14, 2020Frontend
Frontend — Chapter 2: Browsers

Chapter 2: Browsers

Sir Tim Berners-Lee creates the technologies behind the web — HTML, HTTP, and the URL which blend hypertext with the Internet — with a small team at CERN. He

JHJay Hoffmann·August 12, 2020Frontend
Frontend — How To Configure Application Color Schemes With CSS Custom Properties — Smashing Magazine

How To Configure Application Color Schemes With CSS Custom Properties — Smashing Magazine

Splitting colors into three levels (palette, functional, and component) can help you be more adaptive to changes and new requirements while working on a project. In this article, Artur Basak introduces a modern approach on how to set up CSS Custom Properties that respond to the application colors. The idea of dividing colors into three levels can be quite useful: a palette (or scheme), functional

ABArtur BasakArtur Basak·August 11, 2020Frontend
Frontend — Better Error Handling In NodeJS With Error Classes — Smashing Magazine

Better Error Handling In NodeJS With Error Classes — Smashing Magazine

You can get by in NodeJS without properly handling errors but due to the asynchronous nature of NodeJS, improper handling or errors can cause you pain soon enough. This article is for JavaScript and NodeJS developers who want to improve error-handling in their applications. Kelvin Omereshone explains the `error` class pattern and how to use it for a better, more efficient way of handling errors ac

KOKelvin OmereshoneKelvin Omereshone·August 10, 2020Frontend