Search
A Deep Introduction to WordPress Block Themes
4.2.2022
The relatively new WordPress editor, also known as the WordPress Block Editor, always under development via the Gutenberg plugin, has been with us since 2018. You can use the block editor on any WordPress theme, provided the theme …
A Deep Introduction to WordPress Block Themes originally...
Building a newbie-friendly codebase
3.2.2022
Pedro Santos suggests:
Using naming conventions such that you can learn them once and apply them everywhere
Unidirectional data flows. Make it easy to follow the app flow.
No magic numbers. I’d add they are even worse in CSS
…
Building a newbie-friendly codebase originally published...
The Making of Atomic CSS: An Interview With Thierry Koblentz
3.2.2022
I interviewed Thierry Koblentz, creator of Atomic CSS, to understand the history and background that led to making of the popular CSS framework. Thierry, now retired, has vast experience writing CSS at large scale and has previously worked …
The Making of Atomic CSS: An Interview With...
Collective #697
3.2.2022
Creating a Schema-Based Form System * Inclusive Design * Vertex * Use Cases For CSS fit-content
The post Collective #697 appeared first on Codrops
Building a Scrollable and Draggable Timeline with GSAP
2.2.2022
Here’s a super classy demo from Michelle Barker over on Codrops that shows how to build a scrollable and draggable timeline with GSAP. It’s an interesting challenge to have two different interactions (vertical scrolling and horizontal dragging) be tied together …
Building...
User Registration and Auth Using Firebase and React
2.2.2022
The ability to identify users is vital for maintaining the security of any applications. Equally important is the code that’s written to manage user identities, particularly when it comes to avoiding loopholes for unauthorized access to data held by an …
User Registration and Auth Using...
WDRL — Edition 295: CSS Parent Selectors, Interoperability of the web, web3 reflections and sanitizing.
1.2.2022
Hey,
It is January February already, and it feels like time flies. In the world of technology, there are always so many news, trends, and possible distractions. On top of that, we already have so much work to do, projects to finish, and people to please. It is easy to feel empty or get burned out....
“Evergreen” Does Not Mean Immediately Available
1.2.2022
I have a coworker who is smart, capable, and technologically-literate. Like me, they work on the web full-time.
When they are sharing their screen in a meeting, I find myself disassociating fixating on the red update button in their copy …
“Evergreen” Does Not Mean Immediately Available...
Metaphors We Web By
1.2.2022
Maggie Appleton gets into what is perhaps the foremost metaphor the web is founded on: paper.
Paper documents were the original metaphor for the web. […]
The page you’re reading this on still mimics paper. We still call it
…
Metaphors We Web By originally published...
Notes on Reverse-Scrolling Columns With CSS Scroll-Timeline
31.1.2022
Lemme do this one quick-hits style:
Mary Lou published a quintessentially-Codrops-y demo called Alternate Column Scroll.
The scrolling effect is powered by Locomotive Scroll, which we’ve coincidentally covered before.
Bramus has been exploring native CSS scrolling effects
…
Notes...
The Relevance of TypeScript in 2022
31.1.2022
It’s 2022. And the current relevance of TypeScript is undisputed. TypeScript has dominated the front-end developer experience by many, many accounts. By now you likely already know that TypeScript is a superset of JavaScript, building on JavaScript by adding …
The Relevance of TypeScript...
The Optional Chaining Operator, “Modern” Browsers, and My Mom
30.1.2022
Jim Nielsen’s mom couldn’t open a website. Jim worked on confirming the issue and documented how he got to the bottom of it:
“[…] well it can’t be a browser issue. It’s not like my Mom is using Internet Explorer!
…
The Optional Chaining Operator, “Modern” Browsers,...
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
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...