Git: Switching Unstaged Changes to a New Branch
28.1.2022
I’m always on the wrong branch. I’m either on master or main working on something that should be on a fix or feature branch. Or I’m on the last branch I was working on and should have cut a new …
Git: Switching Unstaged Changes to a New Branch originally published...
Demystifying TypeScript Discriminated Unions
27.1.2022
TypeScript is a wonderful tool for writing JavaScript that scales. It’s more or less the de facto standard for the web when it comes to large JavaScript projects. As outstanding as it is, there are some tricky pieces for the …
Demystifying TypeScript Discriminated Unions originally published...
Build, Ship, & Maintain Design Systems with Backlight
27.1.2022
(This is a sponsored post.)
Design systems are an entire job these days. Agencies are hired to create them. In-house teams are formed to handle them, shipping them so that other teams can use them and helping ensure they …
Build, Ship, & Maintain Design Systems with Backlight originally...
Collective #696
27.1.2022
Charm * Make Free Stuff * PHP in 2022 * Frontend Predictions for 2022 * clay.css
The post Collective #696 appeared first on Codrops
I Love You, Ringo
27.1.2022
Some things happen in your life at exactly the right time. It could be meeting the right person, discovering an open source project you go on to join, or even starting a blog when you’re bored with a job you don’t enjoy. All of those things happened to me at the right time and brought...
How to Cycle Through Classes on an HTML Element
26.1.2022
Say you have three HTML classes, and a DOM element should only have one of them at a time:
<div class="state-1"</div<div class="state-2"</div<div class="state-3"</div
Now your job is to rotate them. That is, cycle through classes …
How to Cycle Through Classes on...
Fancy CSS Borders Using Masks
26.1.2022
Have you ever tried to make CSS borders in a repeating zig-zag pattern? Like where a colored section of a website ends and another differently colored section begins — not with a straight line, but angled zig zags, rounded humps, …
Fancy CSS Borders Using Masks originally published...
Background Shift Animation with CSS Blend Modes
26.1.2022
A background color shift effect using a CSS blend mode and a multi-layer animation.
The post Background Shift Animation with CSS Blend Modes appeared first on Codrops
How Do You Handle Component Spacing in a Design System?
26.1.2022
Say you’ve got a <Card /> component. It’s highly likely it shouldn’t be butted right up against any other components with no spacing around it. That’s true for… pretty much every component. So, how do you handle component spacing in …
How Do You Handle...
How to Make a Scroll-Triggered Animation With Basic JavaScript
25.1.2022
A little bit of animation on a site can add some flair, impress users, and get their attention. You could have them run, no matter where they are on the page, immediately when the page loads. But what if your …
How to Make a Scroll-Triggered Animation With Basic JavaScript originally...
Build and Ship a Design System in 8 Steps Using Backlight
24.1.2022
Learn how to use Backlight, an all-in-one collaborative tool that allows teams to build, ship, and maintain Design Systems at scale.
The post Build and Ship a Design System in 8 Steps Using Backlight appeared first on Codrops
Why Don’t Developers Take Accessibility Seriously?
24.1.2022
You know that joke, “Two front-end developers walk into a bar and find they have nothing in common”? It’s funny, yet frustrating, because it’s true.
This article will present three different perspectives on accessibility in web design and development. Three …
Why Don’t Developers Take...