Search
Here's Why Today's U.S. Election Matters for Crypto
5.11.2024
It is Election Day in the U.S. At some point in the coming hours, days and weeks, we'll know which major party wins control of the House of Representatives, the Senate and the White House. Presidential candidates Kamala Harris and Donald Trump might get most of the headlines, but which political...
Web-Slinger.css: Like Wow.js But With CSS-y Scroll Animations
1.11.2024
Can we recreate a JavaScript library for scrolling animations with a modern CSS approach using CSS Scroll-Driven Animations? Yes. Yes, we can.
Web-Slinger.css: Like Wow.js But With CSS-y Scroll Animations originally published on CSS-Tricks, which is part of the DigitalOcean family. You should...
The Protocol: Crypto Fundraising, Job Losses, Juicy Payouts, Grants for Devs
30.10.2024
In this week's issue of The Protocol, our newsletter on blockchain tech, we're covering the Optimism's $42.5M token pledge to Kraken, crypto VC funding, grants for Bitcoin open-source developers, and Polymarket's (negligible) impact on Polygon's bottom line
State of CSS 2024 Results
30.10.2024
The results from this year's survey are fairly fresh off the presses. We took a little time to sit with them and jot down some things we noticed and found interesting.
State of CSS 2024 Results originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get...
Tooltip Best Practices
29.10.2024
What are tooltips, exactly? There's two kinds and the one you use has implications on the user experience, as Zell illustrates in this explainer on best practices.
Tooltip Best Practices originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter
Privacy as a Fundamental Human Right
29.10.2024
What role do privacy tools play in crypto, and how does this discussion develop? Those were some of the questions at a panel I moderated last week at the DC Privacy Summit
Come to the light-dark() Side
25.10.2024
You’d be forgiven for thinking coding up both a dark and a light mode at once is a lot of work. You have to remember @media queries based on prefers-color-scheme as well as extra complications that arise when letting visitors …
Come to the light-dark() Side originally published...
Left Half and Right Half Layout – Many Different Ways
25.10.2024
A whole bunch of years ago, we posted on this idea here on CSS-Tricks. We figured it was time to update that and do the subject justice.
Imagine a scenario where you need to split a layout in half. Content …
Left Half and Right Half Layout – Many Different Ways originally published...
You can use text-wrap: balance; on icons
24.10.2024
Terence Eden on using text-wrap: balance for more than headings:
But the name is, I think, slightly misleading. It doesn’t only work on text. It will work on any content. For example – I have a row of icons at
…
You can use text-wrap: balance; on icons originally published...
Clarifying the Relationship Between Popovers and Dialogs
23.10.2024
The difference between Popovers (i.e., the popover attribute) and Dialogs (i.e., both the <dialog element and the dialog accessible role) is incredibly confusing — so much that many articles (like this, this, and this) have tried to …
Clarifying the Relationship Between Popovers...
Clamp it! VS Code extension
23.10.2024
There’s a lot of math behind fluid typography. CSS does make the math a lot easier these days, but even if you’re comfortable with that, writing the full declaration can be verbose and tough to remember. I know I often …
Clamp it! VS Code extension originally published...
Andy Barr's 'Vision' for House Financial Services
22.10.2024
Congressman Andy Barr (R-Ky.) is one of the lawmakers running to succeed U.S. House Financial Services Committee Chair Patrick McHenry (R-N.C.) as the head of the Republican wing of the committee, which oversees regulators like the Securities and Exchange Commission and is responsible...
Unleash the Power of Scroll-Driven Animations
21.10.2024
I’m utterly behind in learning about scroll-driven animations apart from the “reading progress bar” experiments all over CodePen. Well, I’m not exactly “green” on the topic; we’ve published a handful of articles on it including this neat-o one by...
It's Possible You Shouldn't Tell Journalists About Your Wash Trading Biz
19.10.2024
Last week, the Department of Justice announced charges against over a dozen individuals and entities, arguing these market makers were actually wash trading funds and defrauding people
Combining forces, GSAP & Webflow!
18.10.2024
Change can certainly be scary whenever a beloved, independent software library becomes a part of a larger organization. I’m feeling a bit more excitement than concern this time around, though.
If you haven’t heard, GSAP (GreenSock Animation Platform) is teaming …
Combining...
Mastering theme.json: You might not need CSS
18.10.2024
I totally get the goal here: make CSS more modular and scalable in WordPress. Put all your global WordPress theme styles in a single file, including variations. JSON offers a nicely structured syntax that’s easily consumable by JavaScript, thereby allowing …
Mastering theme.json:...
Solving Background Overflow With Inherited Border Radii
17.10.2024
One of the interesting (but annoying) things about CSS is the background of children’s elements can bleed out of the border radius of the parent element. Here’s an example of a card with an inner element. If the inner element …
Solving Background Overflow With Inherited Border Radii...
Close, Exit, Cancel: How to End User Interactions Well
16.10.2024
What’s in a word? Actions. In the realm of user interfaces, a word is construed as the telltale of a control’s action. Sometimes it points us in the correct direction, and sometimes it leads us astray. We talk a lot …
Close, Exit, Cancel: How to End User Interactions Well originally...
CSS Tricks That Use Only One Gradient
11.10.2024
CSS gradients have been so long that there’s no need to rehash what they are and how to use them. You have surely encountered them at some point in your front-end journey, and if you follow me, you also …
CSS Tricks That Use Only One Gradient originally published on CSS-Tricks, which is part...
WPGraphQL Becomes a Canonical Plugin: My Move to Automattic
10.10.2024
It’s always a gas when a good person doing good work gets a good deal. In this case, Jason’s viral WPGraphQL plugin has not only become a canonical WordPress plugin, but creator Jason Bahl is joining Automattic as well.
I’m …
WPGraphQL Becomes a Canonical Plugin: My Move...