Search
Generating (and Solving!) Sudokus in CSS
15.4.2021
I love to make CSS do stuff it shouldn’t. It’s the type of problem-solving brain training you’d get building a calculator in Minecraft, except you probably won’t get a job working with Minecraft Redstone no matter how good you …
The post Generating (and Solving!) Sudokus in CSS appeared...
Going “Meta GSAP”: The Quest for “Perfect” Infinite Scrolling
14.4.2021
I‘m not sure how this one came about. But, it‘s a story. This article is more about grokking a concept, one that’s going to help you think about your animations in a different way. It so happens that this particular …
The post Going “Meta GSAP”: The Quest for “Perfect” Infinite Scrolling...
CSS is a Strongly Typed Language
13.4.2021
One of the ways you can classify a programming language is by how strongly or weakly typed it is. Here, “typed” means if variables are known at compile time. An example of this would be a scenario where an integer …
The post CSS is a Strongly Typed Language appeared first on CSS-Tricks.
You...
How to Leverage the Fullscreen API… and Style It
12.4.2021
Let’s look at the Fullscreen API in JavaScript. It allows you to do a pretty powerful thing: full screening exactly one particular element you want it to. Not only that, but CSS can help as well with a special selector.…
The post How to Leverage the Fullscreen API… and Style It appeared...
See You Around
12.4.2021
Get it? Because this blog post is about Around, the wonderful new video call software. I’ve been using it for my video calls and I’d be happy to deliver you a TLDR right off the bat: It’s nice. It …
The post See You Around appeared first on CSS-Tricks.
You can support...
Headless Form Submission With the WordPress REST API
9.4.2021
If you’re building a WordPress site, you need a good reason not to choose a WordPress form plugin. They are convenient and offer plenty of customizations that would take a ton of effort to build from scratch. They render the …
The post Headless Form Submission With the WordPress REST...
Comparing the New Generation of Build Tools
8.4.2021
A bunch of new developer tools have landed in the past year and they are biting at the heels of the tools that have dominated front-end development over the last few years, including webpack, Babel, Rollup, Parcel, create-react-app.
These new …
The post Comparing the New Generation of Build...
Paris Hilton drops surprisingly well-informed article about NFTs
8.4.2021
Paris Hilton is bullish on non-fungible tokens and thinks the pandemic “illuminated the importance of digital worlds—and NFTs,”
Coordinating Svelte Animations With XState
7.4.2021
This post is an introduction to XState as it might be used in a Svelte project. XState is unique in the JavaScript ecosystem. It doesn’t keep your DOM synced with your application state, nor does it help you with asynchrony, …
The post Coordinating Svelte Animations With XState appeared...
Some Articles About Accessibility I’ve Saved Recently
6.4.2021
“Good news about display: contents and Chrome” — Rachel Andrew notes that the accessibility danger of using display: contents; is fixed in Chrome. The problem was that, say you had a parent div that is laid out as a grid
…
The post Some Articles About Accessibility I’ve...
Gaps? Gasp!
6.4.2021
At first, there were flexboxes (the children of a display: flex container). If you wanted them to be visually separate, you had to use content justification (i.e. justify-content: space-between), margin trickery, or sometimes, both. Then along came grids (a …
The post Gaps? Gasp! appeared...
Splitting Time Between Product and Engineering Efforts
5.4.2021
At each company I’ve worked, we have had a split between time spent on Product initiatives and Engineering work. The percentages always changed, sometimes 70% Product, 30% Engineering, sometimes as much as a 50/50 split. The impetus is to make …
The post Splitting Time Between Product...
Creating a Smart Navbar With Vanilla JavaScript
5.4.2021
Sticky, or fixed, navigation is a popular design choice because it gives users persistent access to navigate the site. On the other hand, it takes up space on the page and sometimes covers content is a way that’s less than …
The post Creating a Smart Navbar With Vanilla JavaScript appeared...
Platform News: Rounded Outlines, GPU-Accelerated SVG Animations, How CSS Variables Are Resolved
2.4.2021
In the news this week, Firefox gets rounded outlines, SVG animations are now GPU-accelerated in Chrome, there are no physical units in CSS, The New York Times crossword is accessible, and CSS variables are resolved before the value is inherited.…
The post Platform News: Rounded Outlines...
Honeypot DEVS ANSWER
2.4.2021
I did this thing for Honeypots YouTube Channel. I had heard of Honeypot through these mini documentaries they have done, like about Vue.js, GraphQL, and Ember.js. They do a great job, so I was happy to …
The post Honeypot DEVS ANSWER appeared first on CSS-Tricks.
You can support CSS-Tricks...
The Deno Company
2.4.2021
I’m sure a lot of you are paying attention to Deno anyway, the next-gen JavaScript-on-the-sever project from Node creator Ryan Dahl, especially after dropping all these candid regrets about what happened in Node. But perhaps your paying more attention now …
The post The Deno Company...
Let’s Create an Image Pop-Out Effect With SVG Clip Path
2.4.2021
Few weeks ago, I stumbled upon this cool pop-out effect by Mikael Ainalem. It showcases the clip-path: path() in CSS, which just got proper support in most modern browsers. I wanted to dig into it myself to get …
The post Let’s Create an Image Pop-Out Effect With SVG Clip Path appeared first...
Click Outside Detector
2.4.2021
It’s a reasonable UX thing that you can click-to-open something, and then not only be able to click that same thing to close it, but click outside the thing that it opened to close it. Kitty Giraudel just blogged about …
The post Click Outside Detector appeared first on CSS-Tricks.
You...
React Authentication & Access Control
1.4.2021
Authentication and access control are required for most applications, but they often distract us from building core features. In this article, I’ll cover a straightforward way to add auth and access control in React.
Instead of adding a static library …
The post React Authentication &...
Fixing a slow site iteratively
1.4.2021
Site performance is potentially the most important metric. The better the performance, the better chance that users stay on a page, read content, make purchases, or just about whatever they need to do. A 2017 study by Akamai says as …
The post Fixing a slow site iteratively appeared first...