Home/Frontend
Topic

Frontend

1,512 articles on Frontend.

11,739 articles
Frontend — A Guide To Newly Supported, Modern CSS Pseudo-Class Selectors — Smashing Magazine

A Guide To Newly Supported, Modern CSS Pseudo-Class Selectors — Smashing Magazine

The CSS Working Group Editor’s Draft for [Selectors Level 4](https://drafts.csswg.org/selectors-4/) includes several pseudo-class selectors that already have proposal candidates in most modern browsers. This guide will cover ones that currently have the best support along with examples to demonstrate how you can start using them today!

SEStephanie EcklesStephanie Eckles·April 23, 2021Frontend
Frontend — A Complete Guide To Incremental Static Regeneration (ISR) With Next.js — Smashing Magazine

A Complete Guide To Incremental Static Regeneration (ISR) With Next.js — Smashing Magazine

Incremental Static Regeneration (ISR) is a new evolution of the Jamstack, allowing you to update static content instantly without needing a full rebuild of your site. The hybrid approach of Next.js allows you to use ISR for e-commerce, marketing pages, blog posts, ad-backed media, and more. In this article, Lee Robinson will explore a new evolution of the Jamstack: Incremental Static Regeneration

LRLee RobinsonLee Robinson·April 21, 2021Frontend
Frontend — Say Hello to CSS Container Queries

Say Hello to CSS Container Queries

Container queries are finally here! Now available behind a flag in the latest version of Chrome Canary, you can go ahead and experiment to your heart’s

RRRobin RendleRobin Rendle·April 20, 2021Frontend
Frontend — A Zero Trust terminal in your web browser

A Zero Trust terminal in your web browser

Starting today, your team can use that same platform to seamlessly connect to non-HTTP resources from inside of a browser with the same level of Zero Trust control available in web applications.

SSamSam·April 15, 2021Frontend
Frontend — Overflow Issues In CSS — Smashing Magazine

Overflow Issues In CSS — Smashing Magazine

You may have come across horizontal scrollbar issues, especially on mobile, if you’re a front-end developer. Because there are many causes of scrollbar problems, there is no straightforward solution. Some issues can be fixed quickly, and some need a little debugging skill. In this article, Ahmad Shadeed will explore the causes of overflow issues and how to solve them. We will also explore how mode

ASAhmad ShadeedAhmad Shadeed·April 14, 2021Frontend
Frontend — A Complete Guide To HTML Email — Smashing Magazine

A Complete Guide To HTML Email — Smashing Magazine

In a new short series of posts, we highlight some of the useful tools and techniques for developers and designers. Recently we’ve covered CSS generators, SVG generators and accessible front-end components. This time we look into templates and tools for building and designing HTML emails. Don

VFVitaly FriedmanVitaly Friedman·April 12, 2021Frontend
Frontend — CSS Is, In Fact, Awesome

CSS Is, In Fact, Awesome

You've seen the iconic image. Perhaps some of what makes that image so iconic is that people see what they want to see in it. If you see it as a critique of

CCChris Coyier·April 7, 2021Frontend
Frontend — Vanilla JavaScript Code Snippets — Smashing Magazine

Vanilla JavaScript Code Snippets — Smashing Magazine

In a new series of posts, we highlight some of the useful tools and techniques for developers and designers. This time around, let’s look at vanilla JavaScript code snippets — resources and lightweight libraries to help you solve a problem without a large overhead or third-party dependencies.

VFVitaly FriedmanVitaly Friedman·April 5, 2021Frontend
Frontend — Meet Utopia: Designing And Building With Fluid Type And Space Scales — Smashing Magazine

Meet Utopia: Designing And Building With Fluid Type And Space Scales — Smashing Magazine

By systemizing the fundamentals of typography and space, and leaning into the inherent fluidity of the web, a free new **CSS tool** called [Utopia](https://utopia.fyi/) offers an alternative to breakpoint-driven design. This shared language between design and development streamlines communication and encourages the creation of bespoke constraints for your projects to ensure consistent and harmonio

JTJamesgilyead Trysmudford·April 1, 2021Frontend
Frontend — Building a Magical 3D Button

Building a Magical 3D Button

Every action we take on the web starts with a button click, and yet most buttons are ho-hum and uninspired. In this tutorial, we'll build an animated 3D button with HTML and CSS that sparks joy.

JWJosh W. Comeau·March 30, 2021Frontend
Frontend — SVG Generators — Smashing Magazine

SVG Generators — Smashing Magazine

In a new series of posts, we highlight some of the useful tools and techniques for developers and designers. Last weeks, we’ve covered CSS auditing tools, CSS generators and accessible front-end components. This time around, Iris Lješnjanin will take a look at SVG generators — for everything from shapes and backgrounds to SVG path visualizers and SVG → JSX generators.

ILIris LjesnjaninIris Ljesnjanin·March 29, 2021Frontend
Frontend — Reactivity In Vue — Smashing Magazine

Reactivity In Vue — Smashing Magazine

Reactivity is the ability for a variable (array, string, number, object, etc) to update when its value or any other variable that it makes reference to is changed after declaration. In this article, Timi Omoyeni is going to look at reactivity in Vue, how it works, and how you can create reactive variables using newly created methods and functions.

TOTimi OmoyeniTimi Omoyeni·March 25, 2021Frontend
Frontend — Takes on State

Takes on State

React is actually a bit of an outlier with state management. While it has first-class tools like useState and Context, you're more own your own for reactive

CCChris Coyier·March 24, 2021Frontend
Frontend — It's always the stacking context.

It's always the stacking context.

In "What the heck, z-index??," Josh Comeau makes the analogy of layer groups in design software like Photoshop or Figma to stacking contexts in CSS. If you've

CCChris Coyier·March 22, 2021Frontend
Frontend — A Complete Guide To Accessible Front-End Components — Smashing Magazine

A Complete Guide To Accessible Front-End Components — Smashing Magazine

In a new short series of posts, we highlight some of the useful tools and techniques for developers and designers. Recently we’ve covered CSS Auditing Tools and CSS Generators, and this time we look into reliable accessible components: from tabs and tables to toggles and tooltips. We sincerely hope that these tools and techniques will prove to be useful in your day-to-day work — and most important

VFVitaly FriedmanVitaly Friedman·March 22, 2021Frontend
Frontend — What’s New In Flutter 2? — Smashing Magazine

What’s New In Flutter 2? — Smashing Magazine

As Flutter keeps evolving, there are more and more things we can do with it, but it’s still not reasonable to say that Flutter can be used for any app development project of any kind. Flutter has been transitioning from a cross-platform mobile development SDK for Android/iOS into a tool that allows you to run the same code natively in a browser on Windows, Linux and macOS. With Flutter 2, non-mobi

CZCarmine ZaccagninoCarmine Zaccagnino·March 17, 2021Frontend
Frontend — The Gang Goes on JS Danger

The Gang Goes on JS Danger

The JS Party podcast sometimes hosts game shows. One of them is Jeopardy-esque, called JS Danger, and some of us here from CSS-Tricks got to be the guests

CCChris Coyier·March 15, 2021Frontend
Frontend — Creating Patterns With SVG Filters

Creating Patterns With SVG Filters

For years, my pain has been not being able to create a somewhat natural-looking pattern in CSS. I mean, sometimes all I need is a wood texture. The only

BSBence SzabóBence Szabó·March 15, 2021Frontend
Frontend — CSS Generators — Smashing Magazine

CSS Generators — Smashing Magazine

In a new short series of posts, we highlight some of the useful tools and techniques for developers and designers. This time Iris Lješnjanin brings you CSS Generators: from CSS shadows to easing gradients to CSS overlays to CSS doodles.

ILIris LjesnjaninIris Ljesnjanin·March 15, 2021Frontend
Frontend — The Guide To Ethical Scraping Of Dynamic Websites With Node.js And Puppeteer — Smashing Magazine

The Guide To Ethical Scraping Of Dynamic Websites With Node.js And Puppeteer — Smashing Magazine

All of us use web scraping in our everyday lives. It merely describes the process of extracting information from a website. For a lot of web scraping tasks, an HTTP client is enough to extract a page’s data. However, when it comes to dynamic websites, a headless browser sometimes becomes indispensable. In this tutorial, Andreas Altheimer will build a web scraper that can scrape dynamic websites ba

AAAndreas AltheimerAndreas Altheimer·March 11, 2021Frontend
Frontend — The Importance of Learning CSS

The Importance of Learning CSS

I know so many super-talented developers who share the same achilles heel: CSS. Instead of trying to “outrun” CSS, this article explores why leaning in and going deeper can be a tremendous boon for your development life and your career.

JWJosh W. Comeau·March 3, 2021Frontend
Frontend — Creating An Outside Focus And Click Handler React Component — Smashing Magazine

Creating An Outside Focus And Click Handler React Component — Smashing Magazine

In this article, we’ll look at how to create an outside focus and click handler with React. You’ll learn how to recreate an open-source React component (react-foco) from scratch in doing so. To get the most out of this article, you’ll need a basic understanding of JavaScript classes, DOM event delegation and React. By the end of the article, you’ll know how you can use JavaScript class instance pr

AVArihant VermaArihant Verma·March 3, 2021Frontend
Frontend — CSS Border Font

CSS Border Font

Every letter in this "font" by Davor Suljic is a single div and drawn only with border. That means employing some trickery like border-radius with exotic

CCChris Coyier·February 28, 2021Frontend
Frontend — Next.js on Netlify

Next.js on Netlify

If you want to put Next.js on Netlify, here's a 5 minute tutorial¹. One of the many strengths of Next.js is that it can do server-side rendering (SSR) with a

CCChris Coyier·February 28, 2021Frontend
Frontend — Building A Discord Bot Using Discord.js — Smashing Magazine

Building A Discord Bot Using Discord.js — Smashing Magazine

An introduction to building a Discord bot using the Discord.js module. The bot will share random jokes, assign or revoke user roles, and post tweets of a specific account to a Discord channel. In this article, Subha Chanda will showu you how to build a bot from scratch using JavaScript and with help from Discord.js. He’ll cover the process from building the bot up to deploying it to the cloud.

SCSubha ChandaSubha Chanda·February 25, 2021Frontend
Frontend — Hiding Content Responsibly

Hiding Content Responsibly

We've covered the idea of hiding things in CSS many times here, the most recent post being Marko Ilic's "Comparing Various Ways to Hide Things in CSS" which

CCChris Coyier·February 23, 2021Frontend
Frontend — Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine

Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine

A classic problem in CSS is maintaining the aspect ratio of images across related components, such as cards. The newly supported `aspect-ratio` property in combination with `object-fit` provides a remedy to this headache of the past! In this article, Stephanie Eckles will show you how to use these properties, in addition to creating a responsive gradient image effect for extra flair.

SEStephanie EcklesStephanie Eckles·February 23, 2021Frontend
Frontend — Three Ways to Blob with CSS and SVG

Three Ways to Blob with CSS and SVG

Blobs are the smooth, random, jelly-like shapes that have a whimsical quality and are just plain fun. They can be used as illustration elements and background

AMAkash MittalAkash Mittal·February 19, 2021Frontend
Frontend — Barebones CSS for Fluid Images

Barebones CSS for Fluid Images

Zach takes a look at some fundamental HTML+CSS usage for fluid, responsive images. Most of it, I'd say, is what you'd expect, but things get weird when srcset

CCChris Coyier·February 18, 2021Frontend
Frontend — Let’s Create a Custom Audio Player

Let’s Create a Custom Audio Player

HTML has a built-in native audio player interface that we get simply using the <audio> element. Point it to a sound file and that’s all there is to it.

IUIdorenyin UdohIdorenyin Udoh·February 18, 2021Frontend
Frontend — Building A Web App With React, Redux And Sanity.io — Smashing Magazine

Building A Web App With React, Redux And Sanity.io — Smashing Magazine

Headless CMS is a powerful and easy way to manage content and access API. Built on React, Sanity.io is a seamless tool for flexible content management. It can be used to build simple to complex applications from the ground up. In this article, Ifeanyi Dike explains how to build a simple listing app with Sanity.io and React. The global states will be managed with Redux and the application will be s

IDIfeanyi DikeIfeanyi Dike·February 11, 2021Frontend
Frontend — Nested Media Queries

Nested Media Queries

We don't have "regular" nesting in CSS. Maybe this becomes a thing someday, or something like it. That would be cool, although that pre-spec doesn't mention

CCChris Coyier·February 9, 2021Frontend
Frontend — An Interactive Guide to CSS Transitions

An Interactive Guide to CSS Transitions

This comprehensive guide shows how to use CSS transitions! A back-to-basics look at the fundamental building blocks we need to create microinteractions and other animations.

JWJosh W. Comeau·February 9, 2021Frontend