Search
Introducing Svelte, and Comparing Svelte with React and Vue
4.11.2021
Josh Collingsworth is clearly a big fan of Svelte, so while this is a fun and useful comparison article, it’s here to crown Svelte the winner all the way through.
A few things I find compelling:
One of the
…
The post Introducing Svelte, and Comparing Svelte with React and...
Scroll-Linked Animations With the Web Animations API (WAAPI) and ScrollTimeline
4.11.2021
The Scroll-linked Animations specification is an upcoming and experimental addition that allows us to link animation-progress to scroll-progress: as you scroll up and down a scroll container, a linked animation also advances or rewinds accordingly.
We covered some use cases …
The post...
Chapter 10: Browser Wars
3.11.2021
In June of 1995, representatives from Microsoft arrived at the Netscape offices. The stated goal was to find ways to work together—Netscape as the single dominant force in the browser market and Microsoft as a tech giant just beginning to …
The post Chapter 10: Browser Wars appeared first...
Proxying Third-Party JavaScript as First-Party JavaScript (and the Potential Effect on Analytics)
2.11.2021
First, check out how incredibly easy it is to write a Cloudflare Worker to proxy another URL:
addEventListener("fetch", (event) ={
event.respondWith(
fetch("https://css-tricks.com")
);
});
It doesn’t have any error handling or anything, but hey, it works:
Now imagine how …
The...
GUI Challenges
2.11.2021
I keep bookmarking Adam’s GUI Challenges posts/videos and, before I even have a chance to review and link them up, another one is already published! Fortunately, the homepage for them on web.dev is a nice roundup.
For example, a recent …
The post GUI Challenges appeared first...
GUI Challenges
2.11.2021
I keep bookmarking Adam’s GUI Challenges posts/videos and, before I even have a chance to review and link them up, another one is already published! Fortunately, the homepage for them on web.dev is a nice roundup.
For example, a recent …
The post GUI Challenges appeared first...
Rebase vs. Merge: Integrating Changes in Git
2.11.2021
This article is part of our “Advanced Git” series. Be sure to follow us on Twitter or sign up for our newsletter to hear about the next articles!
Most developers understand that it’s important to use branches in Git. In …
The post Rebase vs. Merge: Integrating Changes in Git appeared...
Responsible JavaScript
2.11.2021
High five to Jeremy on the big release of Responsible JavaScript on A Book Apart. There is a lot of talk about how the proliferation of JavaScript has had a negative impact on the web, but now we have …
The post Responsible JavaScript appeared first on CSS-Tricks. You can support CSS-Tricks...
Buttons vs. Links
1.11.2021
There are thousands of articles out there about buttons and links on the web; the differences and how to use them properly. Hey, I don’t mind. I wrote my own as well¹.
It’s such a common mistake on …
The post Buttons vs. Links appeared first on CSS-Tricks. You can support...
Have Single-Page Apps Ruined the Web? (“Transitional Apps”)
1.11.2021
A big heaping 19-minute bowl of not-too-hot, not-too-cold baby bear porridge website building from Rich Harris. I’ve certainly overheard more than my fair share of arguments about Single Page Apps (SPAs) vs Multi-Page Apps (MPAs).
Although, I will say it’s …
The post Have...
So, You Want to Build an @mention Autocomplete Feature?
1.11.2021
We’re all familiar with the concept of autocompletion, right? You type something into a search box and it tries to guess what you’re looking for as you type, displaying suggestions, often below the cursor. While we’re used to autocomplete on …
The post So, You Want to Build an @mention...
CSS-ing Candy Ghost Buttons
1.11.2021
Recently, while looking for some ideas on what to code as I have zero artistic sense so the only thing I can do is find pretty things that other people have come up with and remake them with clean and …
The post CSS-ing Candy Ghost Buttons appeared first on CSS-Tricks. You can support...
Some Articles About Accessibility I’ve Saved Recently IV
29.10.2021
A guide to designing accessible, WCAG-compliant focus indicators — Sara Soueidan says you can make more accessible focus outlines by doing your own, rather than leaving it to the browser — as long as you do it right. Deep dive!
…
The post Some Articles About Accessibility I’ve Saved...
Create Your Own Automated Social Images With Resoc
29.10.2021
There has been a lot of talk about automated social images lately. GitHub has created its own. A WordPress plugin has been acquired by Jetpack. There is definitely interest! People like Ryan Filler and Zach Leatherman have implemented …
The post Create Your Own Automated Social Images With...
Vite + _____
28.10.2021
Vite, “Next Generation Frontend Tooling” from Evan You, has been capturing a lot of attention. I’ve heard rave reviews from developers, even in private chats (you gotta try this!). Being from Evan, Vite works great with Vue, …
The post Vite + _____ appeared first...
Merge Conflicts: What They Are and How to Deal with Them
28.10.2021
Merge conflicts... Nobody likes them. Some of us even fear them. But they are a fact of life when you're working with Git, especially when you're teaming up with other developers. In most cases, merge conflicts aren't as scary as you might think. In this fourth part of our “Advanced Git” series...
Building an Angular Data Grid With Filtering
28.10.2021
(This is a sponsored post.)
Kendo UI makes it possible to go from a basic idea to a full-fledged app, thanks to a massive component library. We’re talking well over 100 components that are ready for you to drop …
The post Building an Angular Data Grid With Filtering appeared first...
Sticky Definition Lists
28.10.2021
I ran across this 30 seconds of code website the other day, and they have a CSS section which is really good! The first example snippet I looked at was this “floating section headers” example, reminding me yet again how …
The post Sticky Definition Lists appeared first...
How to Implement and Style the Dialog Element
27.10.2021
A look from Christian Kozalla on the <dialog> HTML element and using it to create a nice-looking and accessible modal.
CodePen Embed Fallback
I’m attracted to the <dialog> element as it’s one of those “you get a lot for free” …
The post How...
Testing Vue Components With Cypress
27.10.2021
Cypress is an automated test runner for browser-based applications and pages. I’ve used it for years to write end-to-end tests for web projects, and was happy to see recently that individual component testing had come to Cypress. I work on …
The post Testing Vue Components With Cypress...