Home/Frontend
Topic

Frontend

1,551 articles on Frontend.

11,834 articles
Frontend — Managing Shared State In Vue 3 — Smashing Magazine

Managing Shared State In Vue 3 — Smashing Magazine

Writing large-scale Vue applications can be a challenge. Using shared state in your Vue 3 applications can be a solution to reducing this complexity. There are a number common solutions to solving state. In this article, I will dive into the pros and cons of approaches like factories, shared objects, and using Vuex. I’ll also show you what is coming in Vuex 5 that might change how we all use share

SWShawn WildermuthShawn Wildermuth·June 3, 2021Frontend
Frontend — Useful VS Code Extensions For Front-End Developers — Smashing Magazine

Useful VS Code Extensions For Front-End Developers — Smashing Magazine

Meet useful Visual Studio Code extensions for web developers: little helpers to minimize slow-downs and frustrations, and boost developer’s workflow along the way. Recently, we’ve also covered CSS auditing tools, CSS generators and accessible front-end components — you might find them useful, too. In this post, we look into useful VS Code extensions for front-end development, from fine productivit

CMCosima MielkeCosima Mielke·May 27, 2021Frontend
Frontend — A Thorough Analysis of CSS-in-JS

A Thorough Analysis of CSS-in-JS

Wondering what’s even more challenging than choosing a JavaScript framework? You guessed it: choosing a CSS-in-JS solution. Why? Because there are more than

APAndrei Pfeiffer·May 26, 2021Frontend
Frontend — Svelte for the Experienced React Dev

Svelte for the Experienced React Dev

This post is an accelerated introduction to Svelte from the point of view of someone with solid experience with React. I’ll provide a quick introduction, and

ARAdam RackisAdam Rackis·May 21, 2021Frontend
Frontend — CSS Hell

CSS Hell

Collection of common CSS mistakes, and how to fix them

CCChris Coyier·May 21, 2021Frontend
Frontend — Learn CSS!

Learn CSS!

Ooo look at this mighty SEO flex from Google: Learn CSS! Well deserved — this is great content. Twenty-three chapters taking you through all the fundamentals

CCChris Coyier·May 20, 2021Frontend
Frontend — JSON in CSS

JSON in CSS

Jonathan Neal tweeted a heck of a little CSS trick the other day, putting JSON inside CSS and plucking it out with JavaScript. Valid values for custom

CCChris Coyier·May 20, 2021Frontend
Frontend — fit-content and fit-content()

fit-content and fit-content()

Here's some hardcore deep-dive CSS nerdery from PPK. If you can wrap your mind around min-content (the smallest an element can be based on the content it

CCChris Coyier·May 20, 2021Frontend
Frontend — How to Create Neon Text With CSS

How to Create Neon Text With CSS

Neon text can add a nice, futuristic touch to any website. I’ve always loved the magic of neon signs, and wanted to recreate them using CSS. I thought I’d

SOSilvia O'DwyerSilvia O'Dwyer·May 18, 2021Frontend
Frontend — How To Create, Edit And Animate SVGs All In One Place With SVGator 3.0 — Smashing Magazine

How To Create, Edit And Animate SVGs All In One Place With SVGator 3.0 — Smashing Magazine

Three years ago, we published a comprehensive introduction to the basic use of SVGator. At that time it was an app meant solely for animating SVG files created in other apps. Two years ago, we introduced you to a new version of SVGator and its improved animation capabilities. Today, we are taking a closer look at SVGator 3.0, a new major release of the popular SVG application that lets you create,

MDMikolaj Dobrucki·May 18, 2021Frontend
Frontend — Making Disabled Buttons More Inclusive

Making Disabled Buttons More Inclusive

Let’s talk about disabled buttons. Specifically, let’s get into why we use them and how we can do better than the traditional disabled attribute in HTML

SPSandrina PereiraSandrina Pereira·May 12, 2021Frontend
Frontend — Next Gen CSS: @container

Next Gen CSS: @container

Chrome is experimenting with @container, a property within the CSS Working Group Containment Level 3 spec being championed by Miriam Suzanne of Oddbird, and a

UKUna KravetsUna Kravets·May 11, 2021Frontend
Frontend — CSS Pie Timer Re-Revisited

CSS Pie Timer Re-Revisited

Kitty reflected on an ancient blog post here on CSS-Tricks on how to make an animated pie timer. The old technique is still clever. The new technique is

CCChris Coyier·May 11, 2021Frontend
Frontend — A Primer On CSS Container Queries — Smashing Magazine

A Primer On CSS Container Queries — Smashing Magazine

In more recent years, design systems and component libraries have gained popularity. There is also a desire to build once, deploy anywhere. Meaning a component developed in isolation is intended to work in any number of contexts to make building complex interfaces more efficient and consistent. CSS container queries have landed and are now available for experimentation. Let’s look at what problem

SEStephanie EcklesStephanie Eckles·May 11, 2021Frontend
Frontend — Migrating from Parcel to Snowpack

Migrating from Parcel to Snowpack

I find build tooling endlessly interesting, especially right now as we're in a juicy next-gen transitional period with players like Vite, wmr, Snowpack, and

CCChris Coyier·May 10, 2021Frontend
Frontend — Some Typography Links IV

Some Typography Links IV

These are a few great links about typography that have been burning a hole in my saved bookmarks folder that I'm just now getting around to sharing. There's good stuff in there, from how to choose typefaces for app design to ideas for how to fix the concept of font sizing in CSS.

CCChris Coyier·May 7, 2021Frontend
Frontend — Creating Colorful, Smart Shadows

Creating Colorful, Smart Shadows

A bona fide CSS trick from Kirupa Chinnathambi here. To match a colored shadow with the colors in the background-image of an element, you inherit the

CCChris Coyier·May 4, 2021Frontend
Frontend — Swipey Image Grids

Swipey Image Grids

I hope people think of SVG as a vector format that is good for drawing things. There is plenty more to know, but here's one more: SVG is good for composition.

CCChris Coyier·May 3, 2021Frontend
Frontend — The Evolution Of Jamstack — Smashing Magazine

The Evolution Of Jamstack — Smashing Magazine

Web-oriented databases, frameworks like Nuxt and Next.js, and even frameworkless approaches are evolving the Jamstack, but the core principles are more powerful than ever. As the developer community has grown, there’s also been more noise, and we’re even starting to test the boundaries of Jamstack’s best practices. It feels like the right time to both revisit the original vision some of us had fiv

MBMathias BiilmannMathias Biilmann·May 3, 2021Frontend
Frontend — List Markers and String Styles

List Markers and String Styles

Lists—we’ve all worked with them in one form or another. I’m talking about HTML’s <ol> and <ul>. Much of the time, because we desire styling

EMEric MeyerEric Meyer·April 29, 2021Frontend
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