Home/Smashing Magazine
Source

Smashing Magazine

1,379 articles from Smashing Magazine.

Frontend — Converting Plain Text To Encoded HTML With Vanilla JavaScript — Smashing Magazine

Converting Plain Text To Encoded HTML With Vanilla JavaScript — Smashing Magazine

What do you do when you need to convert plain text into formatted HTML? Perhaps you reach for Markdown or manually write in the element tags yourself. Or maybe you have one or two of the dozens of online tools that will do it for you. In this tutorial, Alexis Kypridemos picks those tools apart and details the steps for how we can do it ourselves with a little vanilla HTML, CSS, and JavaScript.

AKAlexis KypridemosAlexis Kypridemos·April 17, 2024Frontend
Frontend — Sliding 3D Image Frames In CSS — Smashing Magazine

Sliding 3D Image Frames In CSS — Smashing Magazine

Creating 3D effects in CSS isn’t an entirely new concept, but typical approaches use additional elements in the markup and pseudo-elements in the styles to pull it off. Temani Afif applies 3D effects and sliding transitions to a single `` using clever CSS techniques that demonstrate advanced, modern styling practices.

TATemani AfifTemani Afif·April 12, 2024Frontend
Engineering — The Things Users Would Appreciate In Mobile Apps — Smashing Magazine

The Things Users Would Appreciate In Mobile Apps — Smashing Magazine

What can we do to make a mobile app better? What subsidiary features are worth providing for our users? I have some ideas. You might, too. So, let’s compare our notes. Without any prescriptions attached, here are seven features I believe can palpably improve a user’s experience with a mobile app.

PSPreethi SamPreethi Sam·April 5, 2024Engineering
Frontend — Infinite-Scrolling Logos In Flat HTML And Pure CSS — Smashing Magazine

Infinite-Scrolling Logos In Flat HTML And Pure CSS — Smashing Magazine

Remember the HTML `` element? It’s deprecated, so it’s not like you’re going to use it when you need some sort of horizontal auto-scrolling feature. That’s where CSS comes in because it has all the tools we need to pull it off. Silvestar Bistrović demonstrates a technique that makes it possible with a set of images and as little HTML as possible.

SBSilvestar BistrovicSilvestar Bistrovic·April 2, 2024Frontend
Career & Teams — How Developers Can Strengthen Their Mental Health Amidst High-Pressure Projects — Smashing Magazine

How Developers Can Strengthen Their Mental Health Amidst High-Pressure Projects — Smashing Magazine

There’s no shortage of articles about the mental health of developers, ranging from personal accounts of harrowing work experiences to round-ups of advice on how to preserve healthy work habits. But what working situations trigger things like stress, anxiety, burnout, and depression? Victor Ayomipo shares his personal triggers and how he manages them.

VAVictor AyomipoVictor Ayomipo·March 29, 2024Career & Teams
Design & UX — Crafting Experiences: Uniting Rikyu’s Wisdom With Brand Experience Principles — Smashing Magazine

Crafting Experiences: Uniting Rikyu’s Wisdom With Brand Experience Principles — Smashing Magazine

Whether digital or physical, designing a customer touchpoint requires an understanding of the essential relationship between the brand and the user experience, which is also known as the **brand experience.** This article is a simple guide to building long-lasting customer relationships based on the seven rules of Rikyu in the Japanese tea ceremony for a creative and memorable twist.

CAChiara AliottaChiara Aliotta·March 21, 2024Design & UX
Distributed — Now Shipping: Success At Scale, A New Smashing Book by Addy Osmani — Smashing Magazine

Now Shipping: Success At Scale, A New Smashing Book by Addy Osmani — Smashing Magazine

It’s here, and it’s shipping! Meet our newest Smashing book, ”Success at Scale”. It’s filled with practical insights and real-world case studies of how big changes can be made on projects of any size. Addy Osmani has curated finest examples, case studies and interviews to help you get successful at scale. Jump to the details and get the book right away.

VFVitaly FriedmanVitaly Friedman·March 20, 2024Distributed
Frontend — Modern CSS Tooltips And Speech Bubbles (Part 2) — Smashing Magazine

Modern CSS Tooltips And Speech Bubbles (Part 2) — Smashing Magazine

In Part 1 of this series, Temani Afif explored different CSS techniques to create tooltip shapes. The main challenge was to rely on a single element and create optimized code that could easily be controlled using CSS variables to update the size, shape, and position of the tail. In this second part, you are going explore more shapes.

TATemani AfifTemani Afif·March 8, 2024Frontend
Languages — The End Of My Gatsby Journey — Smashing Magazine

The End Of My Gatsby Journey — Smashing Magazine

[“Gatsby headaches”](https://www.smashingmagazine.com/2023/06/gatsby-headaches-i18n-part-1/) are over. Juan Diego Rodríguez reflects on his decision to stop using Gatsby as his go-to framework. Through a detailed examination of its strengths and weaknesses, he provides valuable insights and alternative options for developers navigating their tooling choices.

JDJuan Diego RodriguezJuan Diego Rodriguez·March 6, 2024Languages
Frontend — Modern CSS Tooltips And Speech Bubbles (Part 1) — Smashing Magazine

Modern CSS Tooltips And Speech Bubbles (Part 1) — Smashing Magazine

Tooltips are a very common pattern used in CSS for years. There are a lot of ways to approach tooltips in CSS, though some evoke headaches with all the magic numbers they require. In this article, Temani Afif presents modern techniques to create tooltips with the smallest amount of markup and the greatest amount of flexibility.

TATemani AfifTemani Afif·March 1, 2024Frontend
Frontend — How To Draw Radar Charts In Web — Smashing Magazine

How To Draw Radar Charts In Web — Smashing Magazine

A radar chart — also commonly called a spider chart — is yet another way to visualize data and make connections. Radar charts are inherently geometric, making them both a perfect fit and fun to make with CSS, thanks to the `polygon()` function. Read along as Preethi Sam demonstrates the process and sprinkles it with a pinch of JavaScript to make a handy, reusable component.

PSPreethi SamPreethi Sam·February 9, 2024Frontend
Design & UX — A Guide To Designing For Older Adults — Smashing Magazine

A Guide To Designing For Older Adults — Smashing Magazine

With one billion people aged 60 or older worldwide, inclusivity is more important than ever. Learn how to create digital experiences that empower independence and competence for older adults while enhancing usability for all. An upcoming part of Smart Interface Design Patterns.

VFVitaly FriedmanVitaly Friedman·February 6, 2024Design & UX
Engineering — The Feature Trap: Why Feature Centricity Is Harming Your Product — Smashing Magazine

The Feature Trap: Why Feature Centricity Is Harming Your Product — Smashing Magazine

Most product teams commonly adopt a feature-centric mindset, finding them convenient for brainstorming, drafting requirement documents, and integrating into backlogs and ticketing systems. In this article, Andy Budd shows how fixation with features might be holding you back and how making a few small tweaks to your process could make an entire world of difference.

AAndybuddAndybudd·January 29, 2024Engineering
Engineering — A Simple Guide To Retrieval Augmented Generation Language Models — Smashing Magazine

A Simple Guide To Retrieval Augmented Generation Language Models — Smashing Magazine

Language models have shown impressive capabilities. But that doesn’t mean they’re without faults, as anyone who has witnessed a ChatGPT “hallucination” can attest. In this article, Joas Pambou diagnoses the symptoms that cause hallucinations and explains not only what RAG is but also different approaches for using it to solve language model limitations.

JPJoas PambouJoas Pambou·January 26, 2024Engineering
Frontend — CSS Blurry Shimmer Effect — Smashing Magazine

CSS Blurry Shimmer Effect — Smashing Magazine

Taking inspiration from shadows, author Yair Even Or creates the same sort of thing, only with a blurring effect in place of the shadow. Read along for a step-by-step explanation of how it comes together using a combination of masks, gradients, and the good ol’ `backdrop-filter` property.

YEYair Even OrYair Even Or·January 25, 2024Frontend
AI & ML — The AI Dilemma In Graphic Design: Steering Towards Excellence In Typography And Beyond — Smashing Magazine

The AI Dilemma In Graphic Design: Steering Towards Excellence In Typography And Beyond — Smashing Magazine

AI promises a major upheaval in typography, with designers finding themselves navigating both opportunities and challenges. How will it impact quality, design roles, and our use of type in the future? As we explore this new frontier, we realise that we are at a juncture as significant as Gutenberg’s press, set to redefine how we interact with text and visual communication.

FPFilip Paldia Jamie ClarkeFilip Paldia Jamie Clarke·January 23, 2024AI & ML
Frontend — The View Transitions API And Delightful UI Animations (Part 2) — Smashing Magazine

The View Transitions API And Delightful UI Animations (Part 2) — Smashing Magazine

The View Transitions API is a new — but game-changing — feature that allows us to do the types of reactive state-based UI and page transitions that have traditionally been exclusive to JavaScript frameworks. In the second half of this mini two-part series, Adrian Bece expands on the demos from the first article to demonstrate how the View Transitions API can be used to transition not just elements

ABAdrian BeceAdrian Bece·January 2, 2024Frontend
Frontend — Making Sense Of “Senseless” JavaScript Features — Smashing Magazine

Making Sense Of “Senseless” JavaScript Features — Smashing Magazine

JavaScript may be the most popular client-side language in the world, but it’s far from perfect and not without its quirks. Juan Diego Rodriguez examines several “absurd” JavaScript eccentricities and explains how they made it into the language as well as how to avoid them in your own code.

JDJuan Diego RodriguezJuan Diego Rodriguez·December 28, 2023Frontend
Frontend — The View Transitions API And Delightful UI Animations (Part 1) — Smashing Magazine

The View Transitions API And Delightful UI Animations (Part 1) — Smashing Magazine

The View Transitions API is a new — but game-changing — feature that allows us to do the types of reactive state-based UI and page transitions that have traditionally been exclusive to JavaScript frameworks. In the first part of this mini two-part series, Adrian Bece thoroughly explains why we need the API and demonstrates its basic usage.

ABAdrian BeceAdrian Bece·December 22, 2023Frontend
Engineering — Recovering Deleted Files From Your Git Working Tree — Smashing Magazine

Recovering Deleted Files From Your Git Working Tree — Smashing Magazine

Git is designed to assure us that we can track a project’s files at different points in time. But it doesn’t assure us that those files are always safe along the way. For those of you who have dealt with the sinking feeling that you’ve irrevocably deleted and lost files, Sanmi has a couple of approaches that, in the right situations, may help bring them back.

OAOluwasanmi AkandeOluwasanmi Akande·December 1, 2023Engineering
Design & UX — Crafting A Killer Brand Identity For A Digital Product — Smashing Magazine

Crafting A Killer Brand Identity For A Digital Product — Smashing Magazine

In this article, Sasha guides you through crucial processes and factors to achieve a consistent brand presence across platforms. She offers an overview of the entire brand identity process, explores collaboration with UI teams, and provides essential details on the assets required for the successful implementation of a digital brand.

SDSasha DenisovaSasha Denisova·November 28, 2023Design & UX
Performance — A Few Ways CSS Is Easier To Write In 2023 — Smashing Magazine

A Few Ways CSS Is Easier To Write In 2023 — Smashing Magazine

We’re living in somewhat of a CSS renaissance with new features, techniques, experiments, and ideas coming at us to an extent we haven’t seen since “CSS3”. It’s easy to feel overwhelmed when your profession seems to be advancing at breakneck speed, but Geoff Graham considers the ways “modern” CSS in 2023 has actually made CSS “easier” to write.

GGGeoff GrahamGeoff Graham·November 24, 2023Performance