A while ago, Geoff wrote an article about a cool hover effect. The effect relies on a combination of CSS pseudo-elements, transforms, and transitions. A lot of comments have shown that the same effect can be done using background … Cool Hover Effects That Use Background Propertie … | Continue reading
When creating a component-based, front-end infrastructure, one of the biggest pain points I’ve personally encountered is making components that are both reusable and responsive when there are nested components within components. Take the following “call to action” (… Avoiding the … | Continue reading
Automated front-end tests are awesome. We can write a test with code to visit a page — or load up just a single component — and have that test code click on things or type text like a user would, … Writing Strong Front-end Test Element Locators originally published on CSS-Tricks. … | Continue reading
In the 15 or so years since I started making WordPress websites, nothing has had more of an impact on my productivity — and my ability to enjoy front-end development — than adding Tailwind CSS to my workflow (and it … Adding Tailwind CSS to New and Existing WordPress Themes origi … | Continue reading
Mermaid diagrams and flowcharts have been gaining traction, especially with GitHub’s announcement that they are natively supported in Markdown. Let’s take a look at what they are, how to use them, and just as importantly: why. Just like you … Making Mermaid Diagrams in Markdown o … | Continue reading
I’m a big fan of movies by J.J. Abrams. I enjoy their tight plots, quippy dialog, and of course: anamorphic lens flares. Filmmakers like Abrams use lens flare to add a dash of ‘homemade’ realism to their movies, … Add a CSS Lens Flare to Photos for a Bright Touch originally publi … | Continue reading
Content delivery networks, or CDNs, allow you to improve the delivery of your website’s static resources, most notably, with CDN caching. They do this by serving your content from edge locations, which are located all over the world. When a … Adding CDN Caching to a Vite Build or … | Continue reading
We recently covered creating fancy borders with CSS mask properties, and now we are going to cut the corners with CSS mask and clip-path! A lot of techniques exist to cut different shapes from the corners of any element. … Tricks to Cut Corners Using CSS Mask and Clip-Path Proper … | Continue reading
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
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
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
Hey hey! | Continue reading
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
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
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
“Raise the curtains” is an effect where the background and content both change color while scrolling over a sticky element. | Continue reading
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
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
::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
A fun deep dive from Zach. Do you have an opinion on which you should use? | Continue reading
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
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
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
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
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
Kinda silly sounding, isn't it? CSS database queries. But, hey, CSS is capable of talking to other languages. | Continue reading
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
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
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
This is your complete guide to CSS cascade layers, a CSS feature that allows us to define explicit contained layers of specificity. | Continue reading
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
I linked to Jay's front-end predictions last year and I think they panned out pretty well. | Continue reading
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
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
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
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
Greensock made the GSAP Flip plugin free. FLIP is an animation concept that helps make super performance state-change animations. | Continue reading
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
✋ 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
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
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
Kilian Valkhof: | Continue reading
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
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
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
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
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
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