6 Useful Bookmarklets to Boost Web Development

A bookmarklet is a JavaScript-based bookmark that adds to a web browser. I’d like to show you some awesome web browser hacks to aid your web development workflow and how to convert those hacks into time-saving bookmarklets. Activating design mode … 6 Useful Bookmarklets to Boost … | Continue reading


@css-tricks.com | 2 years ago

Write HTML, the HTML Way (Not the XHTML Way)

You may not use XHTML (anymore), but when you write HTML, you may be more influenced by XHTML than you think. You are very likely writing HTML, the XHTML way. What is the XHTML way of writing HTML, and what … Write HTML, the HTML Way (Not the XHTML Way) originally published on CS … | Continue reading


@css-tricks.com | 2 years ago

Optimizing SVG Patterns to Their Smallest Size

I recently created a brick wall pattern as part of my #PetitePatterns series, a challenge where I create organic-looking patterns or textures in SVG within 560 bytes (or approximately the size of two tweets). To fit this constraint, I have … Optimizing SVG Patterns to Their Small … | Continue reading


@css-tricks.com | 2 years ago

CSS-Tricks has been acquired by DigitalOcean

Hey hey! | Continue reading


@css-tricks.com | 2 years ago

Say Hello to selectmenu, a Fully Style-able select Element

I want to introduce you to a new, experimental form control called selectmenu, including how much easier it is to style than a traditional element. | Continue reading


@css-tricks.com | 2 years ago

Build Membership Businesses with Memberful

What would your business be like if you sold memberships? It might be more than fun to think about, in fact, it might just be transformative. With membership, | Continue reading


@css-tricks.com | 2 years ago

7 Fresh Links on Performance For March 2022

I have a handful of good links to articles about performance that are burning a hole in my bookmarks folder, and wanna drop them here to share. | Continue reading


@css-tricks.com | 2 years ago

How to Make a “Raise the Curtains” Effect in CSS

“Raise the curtains” is an effect where the background and content both change color while scrolling over a sticky element. | Continue reading


@css-tricks.com | 2 years ago

CSS Custom Highlight API: The Future of Highlighting Text Ranges on the Web

The CSS Custom Highlight API is the future of styling text ranges on the web, allowing us to call out text without inserting new DOM elements. | Continue reading


@css-tricks.com | 2 years ago

Ahmad Shadeed: Use Cases For CSS fit-content

Ahmad Shadeed covers the CSS fit-content sizing keyword. It's useful! It just doesn't come up super often. I find myself using min-content a lot more, like | Continue reading


@css-tricks.com | 2 years ago

Web Component Pseudo-Classes and Pseudo-Elements are Easier Than You Think

::part, in short, allows you to pierce the shadow tree, which is just my Lord-of-the-Rings-y way to say it lets you style elements inside the shadow DOM from | Continue reading


@css-tricks.com | 2 years ago

Trailing Slashes on URLs: Contentious or Settled?

A fun deep dive from Zach. Do you have an opinion on which you should use? | Continue reading


@css-tricks.com | 2 years ago

When to Avoid the text-decoration Shorthand Property

In my recent article about CSS underline bugs in Chrome, I discussed text-decoration-thickness and text-underline-offset, two relatively new and | Continue reading


@css-tricks.com | 2 years ago

Manuel Matuzovic’s CSS Specificity Demo

If you're looking for a primer on CSS specificity, we've got that. And if you're trying to get ahead of the game, you should be aware of CSS Cascade Layers as | Continue reading


@css-tricks.com | 2 years ago

My white whale: A use case for will-change

The will-change property landed in major browsers in August 2015, and I've been on the lookout for when to use it ever since. | Continue reading


@css-tricks.com | 2 years ago

Explain the First 10 Lines of Twitter’s Source Code to Me

A question I always like to ask when interviewing a front-end candidate is: "Explain the first ten or so lines of the Twitter source code to me." | Continue reading


@css-tricks.com | 2 years ago

Superior Image Optimization: An Ideal Solution Using Gatsby & ImageEngine

In recent years, the Jamstack methodology for building websites has become increasingly popular. Performance, scalable, and secure, it’s easy to see why it’s | Continue reading


@css-tricks.com | 2 years ago

CSS Database Queries? Sure We Can!

Kinda silly sounding, isn't it? CSS database queries. But, hey, CSS is capable of talking to other languages. | Continue reading


@css-tricks.com | 2 years ago

5 Accessibility Quick Wins You Can Implement Today

Even seemingly small accessibility improvements can have nice quality of life benefits for many people. In that spirit, here are five accessibility quick wins you can implement today. | Continue reading


@css-tricks.com | 2 years ago

Before I go: When it comes to complaining about web browsers

That's a damn one-two punch from Dave. He goes for the ultimate clickbait title¹, then follows up with a pile of epic advice for us all. If you want web | Continue reading


@css-tricks.com | 2 years ago

Reliably Send an HTTP Request as a User Leaves a Page

On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a | Continue reading


@css-tricks.com | 2 years ago

A Complete Guide to CSS Cascade Layers

This is your complete guide to CSS cascade layers, a CSS feature that allows us to define explicit contained layers of specificity. | Continue reading


@css-tricks.com | 2 years ago

Comparing Node JavaScript to JavaScript in the Browser

Node JavaScript is a great way to write server-side code. This article shows how to write your own APIs and tools using Node. | Continue reading


@css-tricks.com | 2 years ago

(Jay Freestone’s) Front-End Predictions for 2022

I linked to Jay's front-end predictions last year and I think they panned out pretty well. | Continue reading


@css-tricks.com | 2 years ago

Subsetting Font Awesome to Improve Performance

By subsetting Font Awesome, we can remove any unused glyphs from the font files that it provides to reduce the overall file size. | Continue reading


@css-tricks.com | 2 years ago

Top Things You Didn’t Know You Could Do With Netlify CLI

First things first, if you didn't know Netlify had a CLI, they do.  One of my favorite things about it running the command netlify dev on nearly any | Continue reading


@css-tricks.com | 2 years ago

Add-to-Calendar Button UI Widget

A useful little UI widget. Click the add-to-calendar button, get a list of calendar apps, the user selects which one, and they get a download. | Continue reading


@css-tricks.com | 2 years ago

An Auto-Filling CSS Grid With Max Columns of a Minimum Size

Within Drupal 10 core, we’re implementing a new auto-filling CSS Grid technique that I think is cool enough to share with the world. | Continue reading


@css-tricks.com | 2 years ago

GSAP Flip Plugin for Animation

Greensock made the GSAP Flip plugin free. FLIP is an animation concept that helps make super performance state-change animations. | Continue reading


@css-tricks.com | 2 years ago

6 Creative Ideas for CSS Link Hover Effects

If you’ve ever found yourself stumped trying to make a slick hover effect, then I have six CSS link hover effects for you to check out. | Continue reading


@css-tricks.com | 2 years ago

WordPress.com Has a New Home on YouTube

✋ High fives to WordPress for releasing version 5.9 on January 29! This was the long-awaited introduction of the Site Editor and the reverberations are | Continue reading


@css-tricks.com | 2 years ago

Why are hyperlinks blue?

Last year, Elise Blanchard did some great historical research and discovered that blue hyperlinks replaced black hyperlinks in 1993. They've been blue for so | Continue reading


@css-tricks.com | 2 years ago

Getting Started With the File System Access API

The File System Access API is a web API that allows read and write access to a user's local files. It unlocks new capabilities to build powerful web | Continue reading


@css-tricks.com | 2 years ago

Your CSS reset needs text-size-adjust (probably)

Kilian Valkhof: | Continue reading


@css-tricks.com | 2 years ago

9 New React and JavaScript Links for February 2022

Every now and then, I find that I’ve accumulated a bunch of links about various things I find interesting. Like React and JavaScript! Here’s a list of nine | Continue reading


@css-tricks.com | 2 years ago

Multi-Value CSS Properties With Optional Custom Property Values

Imagine a multi-value CSS property like transform and you don't want every value applied. You might think of CSS optional custom property values. | Continue reading


@css-tricks.com | 2 years ago

A Whistle-Stop Tour of 4 New CSS Color Features

There many new and upcoming ways to define CSS color. Four new features include Display-P3, LCH, LAB and HWB. Let's preview them together. | Continue reading


@css-tricks.com | 2 years ago

Developers Speculating About the Long-Distant Future: 2022

This is a wonderful roundup from Jeremy, who I picture circling January 1, 2022, in red marker on a giant paper calendar back in 2008 and patiently counting | Continue reading


@css-tricks.com | 2 years ago

Helpful Tips for Starting a Next.js Chrome Extension

I recently rewrote one of my projects — Minimal Theme for Twitter — as a Next.js Chrome extension because I wanted to use React for the pop-up. Using React | Continue reading


@css-tricks.com | 2 years ago

A Chrome Extension for Cloudinary That Helps You Pluck Out Useful Media URLs From Your Library Quickly

Cloudinary is a host for your digital assets like images and video. If you don't already know them, you should, because you can build it into the asset | Continue reading


@css-tricks.com | 2 years ago

SVGcode for “Live Tracing” Raster Images

A free online tool called SVGcode by Thomas Steiner is capable of an effect called "Live Trace" that converts a raster image into a vector image. | Continue reading


@css-tricks.com | 2 years ago

How to Make CSS Slanted Containers

Here's how to created a CSS slanted container where the container itself is slanted, but the text and images are balanced for better legibility. | Continue reading


@css-tricks.com | 2 years ago

No Motion Isn’t Always prefers-reduced-motion

You may want to think twice before using this CSS that attempts to obliterate any motion on a website using prefers-reduced-motion. | Continue reading


@css-tricks.com | 2 years ago

Replace JavaScript Dialogs With the New HTML Dialog Element

Here's how to replace JavaScript dialogs with the HTML dialog element with the same functionality as the alert(), confirm(), and prompt() methods. | Continue reading


@css-tricks.com | 2 years ago

Netlify Has Scheduled Functions

Hey! Scheduled Functions are cool! Think of them like a CRON job. I want this code to run every Monday at 2pm. I want this code run every hour on the hour. | Continue reading


@css-tricks.com | 2 years ago

Using Different Color Spaces for Non-Boring Gradients

Think of color spaces as a physical map where individual colors are points on the map. Gradients walk from one point on the map to the next. | Continue reading


@css-tricks.com | 2 years ago

CSS Scroll Snap Slide Deck That Supports Live Coding

We’ll build a CSS-only slide deck that supports live coding, using native web functionality and modern styling, like CSS scroll snap. | Continue reading


@css-tricks.com | 2 years ago

A Deep Introduction to WordPress Block Themes

WordPress Block Themes were formally introduced in WordPress 5.9. This article is a deep dive introduction to block themes and full-site editing. | Continue reading


@css-tricks.com | 2 years ago