Home/Frontend
Topic

Frontend

2,065 articles on Frontend.

13,309 articles
Frontend — Modern Fluid Typography Using CSS Clamp — Smashing Magazine

Modern Fluid Typography Using CSS Clamp — Smashing Magazine

In this article, Adrian Bece will explore fluid typography principles, use-cases, best practices, implementation with CSS clamp function and how to calculate the right parameters. He’ll also show you how to address some accessibility concerns and watch out for one important issue that you cannot fix as of yet, but have to be aware of regardless.

ABAdrian BeceAdrian Bece·January 17, 2022Frontend
Frontend — Using the CSS Me Not Bookmarklet

Using the CSS Me Not Bookmarklet

The CSS Me Not bookmarklet lets you see all of the CSS files on a site, notably unused files you might want to prevent from loading.

CCChris Coyier·January 14, 2022Frontend
Frontend — Mondrian Art in CSS From 5 Coders

Mondrian Art in CSS From 5 Coders

I saw some Mondrian Art in CSS going around the other day and figured I'd go looking for others I've seen over the years and round them up.

CCChris Coyier·January 14, 2022Frontend
Frontend — Building A Web Code Editor — Smashing Magazine

Building A Web Code Editor — Smashing Magazine

If you’re a developer who’s thinking about building a platform that requires a code editor in one form or another, then this article is for you. This article explains how to create a web code editor that displays the result in real time with the help of some HTML, CSS and JavaScript.

DDDaniel DonDaniel Don·January 13, 2022Frontend
Frontend — How to Make a Pure CSS 3D Package Toggle

How to Make a Pure CSS 3D Package Toggle

You know how you can get cardboard boxes that come totally flat? You fold ‘em up and tape ‘em to make them into a useful box. Then when it’s time to recycle

JTJhey TompkinsJhey Tompkins·January 12, 2022Frontend
Frontend — Can CSS Prevent Tooltips Overflow?

Can CSS Prevent Tooltips Overflow?

Sometimes UI elements, like tooltips, need to be edge-aware to prevent the content inside from triggering weird scrollbars or cutting off content.

CCChris Coyier·January 11, 2022Frontend
Frontend — Adding Vite to Your Existing Web App

Adding Vite to Your Existing Web App

Vite (pronounced “veet”) is a newish JavaScript bundler. It comes batteries-included, requires almost no configuration to be useful, and includes plenty of

ARAdam RackisAdam Rackis·January 11, 2022Frontend
Frontend — Don't Fight the Cascade, Control It!

Don't Fight the Cascade, Control It!

If you’re disciplined and make use of the inheritance that the CSS cascade provides, you’ll end up writing less CSS. But because our styles often comes from

MSMads Stoumann·January 10, 2022Frontend
Frontend — A Deep CSS Dive Into Radial And Conic Gradients — Smashing Magazine

A Deep CSS Dive Into Radial And Conic Gradients — Smashing Magazine

CSS gradients are a useful CSS feature that can be used to create interesting UI effects or even help us in drawing something without the need to create HTML elements for it. In this article, we’ll be taking a closer look at two gradients: `conic-gradient` and `radial-gradient`. You’ll see how each one of them works in detail, what the differences and similarities are between them, how and where t

ASAhmad ShadeedAhmad Shadeed·January 10, 2022Frontend
Frontend — CSS-Based Fingerprinting

CSS-Based Fingerprinting

Fingerprinting is bad. It's a term that refers to building up enough metadata about a user that you can essentially figure out who they are. JavaScript has

CCChris Coyier·January 3, 2022Frontend
Frontend — Defensive CSS

Defensive CSS

Ahmad Shadeed nails it again with "Defensive CSS." The idea is that you should write CSS to be ready for issues caused by dynamic content.

CCChris Coyier·December 31, 2021Frontend
Frontend — Add Less

Add Less

When you're about to start a new website, what do you think first? Do you start with a library or framework you know, like React or Vue, or a meta-framework

CWCassidy WilliamsCassidy Williams·December 30, 2021Frontend
Frontend — Empathetic Animation

Empathetic Animation

Animation on the web is often a contentious topic. I think, in part, it’s because bad animation is blindingly obvious, whereas well-executed animation fades

CECassie EvansCassie Evans·December 29, 2021Frontend
Frontend — Care for the Text

Care for the Text

How do you make a great website? Everyone has an answer at the ready: Flashy animations! The latest punk-rock CSS trick! Gradients! Illustrations! Colors to

RRRobin RendleRobin Rendle·December 24, 2021Frontend
Frontend — Why Ember?

Why Ember?

There was a time when I'd write React, Angular, and Ember as a kind of generic grouping of three major JavaScript frameworks. And maybe just because three is

CCChris Coyier·December 22, 2021Frontend
Frontend — Topological sort

Topological sort

Jordan Scales explores the computer science concept of topological sorting, and what it might look like if applied to the concept of z-index in CSS. So, you

CCChris Coyier·December 16, 2021Frontend
Frontend — HTML Sanitizer API

HTML Sanitizer API

Three cheers for (draft stage) progress on a Sanitizer API! It's gospel that you can't trust user input. And indeed, any app I've ever worked on has dealt

CCChris Coyier·December 16, 2021Frontend
Frontend — The Vite Ecosystem

The Vite Ecosystem

Matias Capeletto covers the breadth of Vite, from the technological shoulders it stands on, to the peers exploring similar territory, to the other

CCChris Coyier·December 15, 2021Frontend
Frontend — The UI fund

The UI fund

Google is handing out bucks for CSS-related projects, so you might as well know about it! Nicole Sullivan:

CCChris Coyier·December 15, 2021Frontend
Frontend — CSS-Tricks Chronicle XLI

CSS-Tricks Chronicle XLI

Ya know, I used to do one of these posts after making a few podcast appearances I hadn't had a chance to link up yet, so I could share them. As fate would

CCChris Coyier·December 13, 2021Frontend
Frontend — Using Position Sticky With CSS Grid

Using Position Sticky With CSS Grid

Say you've got a two-column CSS grid and you want one of those columns to behave like position: sticky;. There is nothing stopping you from doing that. But

CCChris Coyier·December 10, 2021Frontend
Frontend — Some notes on using esbuild

Some notes on using esbuild

This is a fantastic article from Julia Evans about duking it out with modern front-end tooling. Julia has made a bunch of Vue projects and typically uses no

CCChris Coyier·December 9, 2021Frontend
Frontend — Flip, Invert, and Reverse

Flip, Invert, and Reverse

The SVG <path> syntax is a beast. There are all sorts of commands that make up a mini-language all of its own — so powerful that it's capable of drawing

CCChris Coyier·December 8, 2021Frontend
Frontend — Spicy Sections

Spicy Sections

What if HTML had "tabs"? That would be cool, says I. Dave has been spending some of his time and energy, along with a group of "Tabvengers" from OpenUI, on

CCChris Coyier·December 7, 2021Frontend
Frontend — How To Protect Your API Key In Production With Next.js API Route — Smashing Magazine

How To Protect Your API Key In Production With Next.js API Route — Smashing Magazine

There’s a great challenge that comes with building Jamstack applications on the web. In this article, Caleb Olojo will be using Next.js to bootstrap your app. This does not mean that the [create-react-app](https://create-react-app.dev/) library will not work. You can make use of any one that you find convenient. You’re using Next.js because of the many perks that come with it.

COCaleb OlojoCaleb Olojo·December 2, 2021Frontend
Frontend — Diagonal Stripes Wipe Animation

Diagonal Stripes Wipe Animation

I was playing this game on Apple Arcade the other day called wurdweb. It's a fun little game! Little touches like the little shape dudes that walk around the

CCChris Coyier·November 30, 2021Frontend
Frontend — 3D CSS Flippy Snaps With React And GreenSock — Smashing Magazine

3D CSS Flippy Snaps With React And GreenSock — Smashing Magazine

One of Jhey’s main mantras is to make learning fun. In this article, he shows you ways to level up your skills by bringing your ideas to life, and not forgetting that you can be playful with code. With that mindset, every idea is bound to become an opportunity to try something new. It’s fun to make things that we may not create on a day-to-day basis. Demos like this can pose different challenges a

JTJhey TompkinsJhey Tompkins·November 29, 2021Frontend
Frontend — How To Maintain A Large Next.js Application — Smashing Magazine

How To Maintain A Large Next.js Application — Smashing Magazine

There are a few ways in which you can make a large code-base easy to maintain. In this article, Nirmalya discusses some of the complex problems that he faced while building and maintaining large Next.js applications. He always explains how these problems can be solved by using various tools. Most of these points will apply to any front-end application. For any front-end application, the main prior

NGNirmalya GhoshNirmalya Ghosh·November 26, 2021Frontend
Frontend — A Modern CSS Reset

A Modern CSS Reset

I have a set of baseline CSS styles that come with me from project to project. In the past, I'd use a typical CSS reset, but times have changed, and I believe I have a better set of global styles!

JWJosh W. Comeau·November 23, 2021Frontend
Frontend — Adding A Dyslexia-Friendly Mode To A Website — Smashing Magazine

Adding A Dyslexia-Friendly Mode To A Website — Smashing Magazine

The separation of content and presentation that CSS gives us always comes in handy when we need to adapt designs to better serve different communities. With a little CSS, we can adapt our web designs to be more accommodating for people with dyslexia. In this article, John C Barstow will explore those techniques by adding a dyslexia-friendly mode to an existing design.

JBJohn BarstowJohn Barstow·November 23, 2021Frontend
Frontend — CSS "decorations"

CSS "decorations"

A reader wrote to me the other day asking about this bit of CSS they came across in Wikipedia's Common.css:

CCChris Coyier·November 22, 2021Frontend
Frontend — Smashing Workshops: Winter 2021 — Smashing Magazine

Smashing Workshops: Winter 2021 — Smashing Magazine

What’s the state of CSS, Vue.js and Next.js? What are new, smart interface design patterns we could use? Let’s figure it out. With our [online workshops on UX, front-end and design](https://smashingconf.com/online-workshops).

ILIris LjesnjaninIris Ljesnjanin·November 22, 2021Frontend
Frontend — Reimagine Atomic CSS

Reimagine Atomic CSS

I'm not the biggest fan of Atomic CSS myself. I don't like all the classes. I like to express my styles in CSS because I find CSS... good. But I appreciate

CCChris Coyier·November 19, 2021Frontend
Frontend — Next.js Wildcard Subdomains — Smashing Magazine

Next.js Wildcard Subdomains — Smashing Magazine

Wildcard domains often go under the radar. Hosting with a wildcard subdomain enables your users to visit your site on any subdomain of your domain (*.example.com), and as you can imagine, we can use this to create unique user experiences which we’ll be exploring in this article through a Next.js lens.

SPSam PoderSam Poder·November 19, 2021Frontend
Frontend — The Gap (Design Engineering)

The Gap (Design Engineering)

Egor Kloos describes a situation where a (purely visual) designer asks for some changes to a component. There is a misunderstanding where the (code monkey)

CCChris Coyier·November 17, 2021Frontend
Frontend — A Guide To Modern CSS Colors With RGB, HSL, HWB, LAB And LCH — Smashing Magazine

A Guide To Modern CSS Colors With RGB, HSL, HWB, LAB And LCH — Smashing Magazine

Did you know that your chosen color palette can have an impact on how much energy your website uses? Even a more environmentally friendly choice of colors can reduce the impact on the battery life of mobile devices. In this article, Michelle Barker shares advice on the not-so-obvious things you have to keep in mind when handling colors in CSS today.

MBMichelle BarkerMichelle Barker·November 17, 2021Frontend