WebDev Feed

Web development news

Case Study: Gabriel Contassot’s Portfolio — 2024

24 April 2024 @ 9:25 am - Codrops

A look into the making of Gabriel's 2024 portfolio website, complementing minimal design choices with subtle animations.

Blurry Text Reveal on Scroll

23 April 2024 @ 1:08 pm - Codrops

A blurry text reveal animation on scroll inspired by Rauno's "Blur reveal".

Write less CSS by taking advantage of inheritence

23 April 2024 @ 1:04 pm - Kevin Powell

Collective #832

23 April 2024 @ 11:00 am - Codrops

Menu in view with just CSS * Demystifying the Shadow DOM * ClickWheel.js

F-Shape Pattern And How Users Read

23 April 2024 @ 10:00 am - Articles on Smashing Magazine — For Web Designers And Developers

Scrolling, scanning, skipping: How do users consume content online? Here’s what you need to know about reading behavior and design strategies to prevent harmful scanning patterns. An upcoming part of Smart Interface Design Patterns.

Is CSS getting harder to learn?

22 April 2024 @ 12:54 pm - Kevin Powell

Demystifying Screen Readers: Accessible Forms & Best Practices

19 April 2024 @ 2:26 pm - CSS-Tricks

This is the 3rd post in a small series we are doing on form accessibility. If you missed the 2nd post, check out Managing User Focus with :focus-visible. In this post we are going to look at using a … Demystifying Screen Readers: Accessible Forms & Best Practices originally

Collective #831

19 April 2024 @ 11:00 am - Codrops

The Debugger's Toolkit * Deco.cx * Flattening Bézier Curves and Arcs

How To Work With GraphQL In WordPress In 2024

19 April 2024 @ 10:00 am - Articles on Smashing Magazine — For Web Designers And Developers

What options do we have for integrating GraphQL with WordPress in 2024? Leonardo Losoviz describes the developments that have taken place in this space over the last three years.

Super simple & useful CSS selector trick

18 April 2024 @ 1:00 pm - Kevin Powell

Fun button effect with HTML, CSS & JS

18 April 2024 @ 1:00 pm - Kevin Powell

Converting Plain Text To Encoded HTML With Vanilla JavaScript

17 April 2024 @ 1:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

Some On-Scroll Text Highlight Animations

17 April 2024 @ 12:13 pm - Codrops

Some ideas for scroll-based text highlight animations.

This Ancient CSS Feature Is Incredibly Useful

16 April 2024 @ 4:00 pm - Web Dev Simplified

How I find and debug issues in my CSS

16 April 2024 @ 1:27 pm - Kevin Powell

Collective #830

16 April 2024 @ 11:00 am - Codrops

JavaScript Signals standard proposal * Awesome-Code-AI * Old-school cursors

How To Monitor And Optimize Google Core Web Vitals

16 April 2024 @ 10:00 am - Articles on Smashing Magazine — For Web Designers And Developers

The three Core Web Vitals metrics don’t only tell you how visitors experience your website but also impact your Google search result rankings. In this article, we’ll look at what Core Web Vitals are, how they are measured, and how you can use DebugBear to monitor them continuously.

Bridging Design and Code: The Power of Penpot’s CSS Grid Layout

15 April 2024 @ 10:17 am - Codrops

Explore Penpot, the open-source platform enhancing design and development teamwork, now featuring the CSS Grid Layout for even more powerful and efficient project creation.

UI Interactions & Animations Roundup #42

14 April 2024 @ 9:33 am - Codrops

A fresh motion design collection of the best shots from Dribbble to get your creativity flowing.

Sliding 3D Image Frames In CSS

12 April 2024 @ 6:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

Collective #829

12 April 2024 @ 11:00 am - Codrops

An Interactive Guide to CSS Container Queries * Repetition

Write less code with these 5 CSS tips

11 April 2024 @ 2:28 pm - Kevin Powell

Penpot’s CSS Grid Layout: Designing With Superpowers

11 April 2024 @ 8:00 am - Articles on Smashing Magazine — For Web Designers And Developers

Penpot helps designers and developers work better together by offering a free, open-source design tool based on open web standards. Today, let's explore Penpot’s latest feature, CSS Grid Layout. Penpot’s latest release is about efficiency and so much more. It gives designers superpowers and a better place at the table. Excited? Let’s take a look at it together.

Selecting the preceeding sibling with CSS is so easy now!

10 April 2024 @ 1:00 pm - Kevin Powell

Image Stack Entrance Animations

10 April 2024 @ 10:50 am - Codrops

A circular stack intro for images with different animations.

How To Build A Next.js Coupon System Like A Senior Developer

9 April 2024 @ 4:00 pm - Web Dev Simplified

Connecting With Users: Applying Principles Of Communication To UX Research

9 April 2024 @ 10:00 am - Articles on Smashing Magazine — For Web Designers And Developers

Victor Yocco reviews the components of the Transactional Model of communication, explaining how we might apply this framework to preparing, conducting, and analysing our UX research. You will understand how many UX research best practices align with the model and get an example of a tool for tracking alignment.

Managing User Focus with :focus-visible

5 April 2024 @ 10:13 pm - CSS-Tricks

This is going to be the 2nd post in a small series we are doing on form accessibility. If you missed the first post, check out Accessible Forms with Pseudo Classes. In this post we are going to look … Managing User Focus with :focus-visible

The Things Users Would Appreciate In Mobile Apps

5 April 2024 @ 12:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

Create a diamond grid with CSS (with a bonus animation)

4 April 2024 @ 1:19 pm - Kevin Powell

New way to handle light/dark themes with CSS

3 April 2024 @ 1:00 pm - Kevin Powell

Iconography In Design Systems: Easy Troubleshooting And Maintenance

3 April 2024 @ 8:00 am - Articles on Smashing Magazine — For Web Designers And Developers

Tatsiana Tarkan digs deep into iconography as part of a design system and shares some doable tips that will turn icon creation and maintenance into an enjoyable process.

Animate nav on scroll - CSS-only & easy to customize

2 April 2024 @ 4:50 pm - Kevin Powell

Learn Drizzle In 60 Minutes

2 April 2024 @ 4:00 pm - Web Dev Simplified

Infinite-Scrolling Logos In Flat HTML And Pure CSS

2 April 2024 @ 12:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

Colorful Blossoms And Rainy Days (April 2024 Wallpapers Edition)

31 March 2024 @ 8:00 am - Articles on Smashing Magazine — For Web Designers And Developers

Could there be a better way to welcome the new month than with a little inspiration boost? We might have one for you: desktop wallpapers created by the community for the community. Enjoy!

The Power of :has() in CSS

30 March 2024 @ 2:07 am - CSS-Tricks

Hey all you wonderful developers out there! In this post we are going to explore the use of :has() in your next web project. :has() is relatively newish but has gained popularity in the front end community by delivering control … The Power of :has() in CSS originally published on CSS-Tricks, which is part of the

@scope is coming to CSS and it's amazing 🤯

29 March 2024 @ 6:37 pm - Kevin Powell

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

29 March 2024 @ 8:00 am - Articles on Smashing Magazine — For Web Designers And Developers

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.

The Future Of User Research: Expert Insights And Key Trends

27 March 2024 @ 1:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

Based on responses from over 1,200 product professionals, Maze’s Future of User Research Report uncovers how product teams conduct research to inform decision-making and build successful products. Learn about the top three trends defining the user research industry in 2024 and beyond.

How to take control of Flexbox

26 March 2024 @ 4:34 pm - Kevin Powell

Setting And Persisting Color Scheme Preferences With CSS And A “Touch” Of JavaScript

25 March 2024 @ 12:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

There are many ways to approach a “Dark Mode” feature that respects a user’s system color scheme preferences and allows for per-site customization. Henry Bley-Vroman walks through a new possibility that leans into cutting-edge CSS, with minimal JavaScript to support persisting the user’s color scheme preference across pages.

Accessible Forms with Pseudo Classes

22 March 2024 @ 6:52 pm - CSS-Tricks

Hey all you wonderful developers out there! In this post, I am going to take you through creating a simple contact form using semantic HTML and an awesome CSS pseudo class known as :focus-within. The :focus-within class allows for … Accessible Forms with Pseudo Classes originally published on CSS-Tricks

Stop Trying Out New Programming Tools

21 March 2024 @ 4:00 pm - Web Dev Simplified

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

21 March 2024 @ 3:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

Make position absolute work with you, not against you

21 March 2024 @ 12:16 pm - Kevin Powell

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

20 March 2024 @ 11:00 am - Articles on Smashing Magazine — For Web Designers And Developers

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

Will Devin AI Take Your Job?

19 March 2024 @ 4:00 pm - Web Dev Simplified

Sketchnotes And Key Takeaways From SmashingConf Antwerp 2023

18 March 2024 @ 6:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

How was the first SmashingConf in Antwerp, you ask? One of our online attendees, Krisztina Szerovay, shares her sketchnotes and takeaways of the talks that were held on both days of the conference — with photos and recordings saved as best for last. [See you live in Antwerp this year, maybe?](https://smashingconf.com/antwerp-2024)

Is Drizzle Really Better Than Prisma?

12 March 2024 @ 4:00 pm - Web Dev Simplified

Event Calendars For Web Made Easy With These Commercial Options

12 March 2024 @ 12:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

Collection of top-notch calendar components for seamless event scheduling. Whether you prefer ready-to-use setups or enjoy tweaking code for a tailored experience, these calendars have you covered.

Success At Scale: Last Chance For Pre-Sale Price

8 March 2024 @ 4:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

Our next book, “Success at Scale” is finally at the printer, which means we’ll be shipping books soon. It’s also your last chance to get the book at the presale price. Get your copy and save now!

Modern CSS Tooltips And Speech Bubbles (Part 2)

8 March 2024 @ 12:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

The End Of My Gatsby Journey

6 March 2024 @ 8:00 am - Articles on Smashing Magazine — For Web Designers And Developers

[“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.

State Managers Are Making Your Code Worse In React

5 March 2024 @ 5:00 pm - Web Dev Simplified

Modern CSS Tooltips And Speech Bubbles (Part 1)

1 March 2024 @ 12:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

Waiting For Spring (March 2024 Wallpapers Edition)

29 February 2024 @ 10:00 am - Articles on Smashing Magazine — For Web Designers And Developers

Do you need a little inspiration boost? Well, then our new batch of desktop wallpapers is for you. Designed by artists and designers from across the globe, they come in versions with and without a calendar for March 2024. Enjoy!

NEW React 19 Changes Are Amazing!

27 February 2024 @ 6:00 pm - Web Dev Simplified

Reporting Core Web Vitals With The Performance API

27 February 2024 @ 12:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

The Performance API is a set of standards for measuring and evaluating performance metrics with JavaScript. This article demonstrates how to use the Performance API to generate performance metrics directly in the DOM to create your own reporting.

A Web Designer’s Accessibility Advocacy Toolkit

26 February 2024 @ 6:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

Digital designer Yichan Wang has put together this collection of strategies and selling points to help you encourage and advocate for accessibility in your place of work, including useful scripts you can use as starting points.

Vanilla JavaScript, Libraries, And The Quest For Stateful DOM Rendering

22 February 2024 @ 6:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

It’s well-established that the web faces wide-ranging usability and performance issues, from user-hostile UI patterns and twisted search results to sluggish performance and battery-draining bloat. In this article, Frederik examines one small-but-significant aspect where developers take the reins: Painting pixels on the screen.

10 Tailwind Classes I Wish I Knew Earlier

20 February 2024 @ 5:00 pm - Web Dev Simplified

A Practical Guide To Designing For Colorblind People

20 February 2024 @ 12:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

Color accessibility is more than just ticking boxes. Even with good contrast, some color palettes can make interfaces challenging for users. Here are some practical guidelines to ensure more inclusive design for colorblind people. An upcoming part of Smart Interface Design Patterns.

Mobile Accessibility Barriers For Assistive Technology Users

19 February 2024 @ 10:00 am - Articles on Smashing Magazine — For Web Designers And Developers

Accessibility goes beyond making products user-friendly. It can significantly impact the quality of life for people with disabilities. Kate Kalcevich shares lessons she learned from assistive technology users — challenges and barriers they encounter on mobile devices.

This New Next.js Feature Makes Caching Much Easier

17 February 2024 @ 5:00 pm - Web Dev Simplified

How Accessibility Standards Can Empower Better Chart Visual Design

14 February 2024 @ 3:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

Accessibility for data visualization extends well beyond web standards, at least if you’re trying to create an experience that’s actually useful. This article focuses on techniques for creating useful and accessible visualizations that extend well beyond compliance.

8 NEW JavaScript 2024 Features

13 February 2024 @ 5:00 pm - Web Dev Simplified

A Practical Guide To Designing For Children

13 February 2024 @ 12:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

How to design for children aged 3–12, with insights into user behavior, considerations for parents, and practical UX guidelines.

How To Draw Radar Charts In Web

9 February 2024 @ 3:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

The Web Developer Job Market Is Broken

8 February 2024 @ 5:00 pm - Web Dev Simplified

Frequently Heard In My Beginning Front-End Web Development Class

8 February 2024 @ 1:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

What could we learn from entry-level students in front-end web development? As seasoned professionals, you might think you’ve seen it all, but the truth is that the newcomers are asking the most intriguing questions and making connections that those of us who have spent years on the front end may have never considered.

Web Development Is Getting Too Complex, And It May Be Our Fault

7 February 2024 @ 1:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

An overwhelming number of frameworks and tooling available today gives the impression that web development has gotten perhaps too complex. Juan Diego Rodríguez explores if web development really is that complex and, most importantly, how we can prevent it from getting even more difficult than we already perceive it to be.

NEW Next.js 14 Course Announcement!

6 February 2024 @ 5:00 pm - Web Dev Simplified

A Guide To Designing For Older Adults

6 February 2024 @ 8:00 am - Articles on Smashing Magazine — For Web Designers And Developers

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.

Do You Know All 63 HTTP Status Codes?

2 February 2024 @ 5:07 pm - Web Dev Simplified

When Words Cannot Describe: Designing For AI Beyond Conversational Interfaces

2 February 2024 @ 1:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

As Artificial Intelligence evolves the computing paradigm, designers have an opportunity to craft more intuitive user interfaces. Maximillian Piras examines how the latest AI capabilities can reshape the future of human-computer interaction beyond conversation alone.

29 Days Of Inspiration (February 2024 Wallpapers Edition)

31 January 2024 @ 12:30 pm - Articles on Smashing Magazine — For Web Designers And Developers

With February just around the corner, how about a little inspiration boost? We might have one for you: desktop wallpapers created with love by the community for the community. Enjoy!

The Feature Trap: Why Feature Centricity Is Harming Your Product

29 January 2024 @ 3:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

A Simple Guide To Retrieval Augmented Generation Language Models

26 January 2024 @ 3:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

CSS Blurry Shimmer Effect

25 January 2024 @ 3:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

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

23 January 2024 @ 1:00 pm - Articles on Smashing Magazine — For Web Designers And Developers

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.

Passkeys: What the Heck and Why?

12 April 2023 @ 5:41 pm - CSS-Tricks

These things called passkeys sure are making the rounds these days. They were a main attraction at W3C TPAC 2022, gained support in Safari 16, are finding their way into macOS and iOS, and

Some Cross-Browser DevTools Features You Might Not Know

22 March 2023 @ 8:22 pm - CSS-Tricks

I spend a lot of time in DevTools, and I’m sure you do too. Sometimes I even bounce between them, especially when I’m debugging cross-browser issues. DevTools is a lot like browsers themselves — not all of the features in … Some Cross-Browser DevTools Features You Might Not Know originally published on CSS

Making Calendars With Accessibility and Internationalization in Mind

13 March 2023 @ 1:23 pm - CSS-Tricks

Doing a quick search here on CSS-Tricks shows just how many different ways there are to approach calendars. Some show how CSS Grid can create the layout efficiently. Some attempt to bring actual data into the mix. Some …

5 Mistakes I Made When Starting My First React Project

10 March 2023 @ 4:41 pm - CSS-Tricks

You know what it’s like to pick up a new language or framework. Sometimes there’s great documentation to help you find your way through it. But even the best documentation doesn’t cover absolutely everything. And when you work with something … 5 Mistakes I Made When Starting My First React Project originally published on CSS-Tricks

Creating a Clock with the New CSS sin() and cos() Trigonometry Functions

8 March 2023 @ 2:05 pm - CSS-Tricks

CSS trigonometry functions are here! Well, they are if you’re using the latest versions of Firefox and Safari, that is. Having this sort of mathematical power in CSS opens up a whole bunch of possibilities. In this tutorial, I thought … Creating a Clock with the New CSS sin() and cos() Trigonometry Functions originally published on

Managing Fonts in WordPress Block Themes

6 March 2023 @ 3:26 pm - CSS-Tricks

Fonts are a defining characteristic of the design of any site. That includes WordPress themes, where it’s common for theme developers to integrate a service like Google Fonts into the WordPress Customizer settings for a “classic” PHP-based theme. That hasn’t … Managing Fonts in WordPress Block Themes originally p

Everything You Need to Know About the Gap After the List Marker

2 March 2023 @ 6:20 pm - CSS-Tricks

I was reading “Creative List Styling” on Google’s web.dev blog and noticed something odd in one of the code examples in the ::marker section of the article. The built-in list markers are bullets, ordinal numbers, and letters. The ::marker pseudo-element … E

An Approach to Lazy Loading Custom Elements

13 February 2023 @ 3:10 pm - CSS-Tricks

We’re fans of Custom Elements around here. Their design makes them particularly amenable to lazy loading, which can be a boon for performance. Inspired by a colleague’s experiments, I recently set

Different Ways to Get CSS Gradient Shadows

10 February 2023 @ 3:13 pm - CSS-Tricks

It’s a question I hear asked quite often: Is it possible to create shadows from gradients instead of solid colors? There is no specific CSS property that does this (believe me, I’ve looked) and any blog post you find about … Different Ways to Get CSS Gradient Shadows originally published on CSS-Tricks, which

Healthcare, Selling Lemons, and the Price of Developer Experience

9 February 2023 @ 7:45 pm - CSS-Tricks

Every now and then, a one blog post is published and it spurs a reaction or response in others that are, in turn, published as blogs posts, and a theme starts to emerge. That’s what happened this past week and … Healthcare, Selling Lemons, and the Price of Developer Experience originally published on

Moving Backgrounds

9 February 2023 @ 3:03 pm - CSS-Tricks

We often think of background images as texture or something that provides contrast for legible content — in other words, not really content. If it was content, you’d probably reach for an <img> anyway, accessibility and whatnot. But there are … Moving Backgrounds originally published on CSS-Tricks, which is par