Two CSS Properties for Trimming Text Box Whitespace

The text-box-trim and text-box-edge properties in CSS enable developers to trim specifiable amounts of the whitespace that appear above the first formatted line of text and below the last formatted line of text in a text box, making the text …

Two CSS Properties for Trimming Text Box Whitespace originally…

What’s Old is New

I collect a bunch of links in a bookmarks folder. These are things I fully intend to read, and I do — eventually. It’s a good thing bookmarks are digital, otherwise, I’d need a bigger coffee table to separate them …

What’s Old is New originally published…

Two Ways to Create Custom Translated Messaging for HTML Forms

HTML forms come with built-in ways to validate form inputs and other controls against predefined rules such as making an input required, setting min and max constraints on range sliders, or establishing a pattern on an email input to check …

Two Ways to Create Custom Translated…

Anchor Positioning Quirks

I am thrilled to say, that from this week onwards, the CSS-tricks Almanac has an entry for each property, function, and at-rule related to the new Anchor Positioning API! For the last month, I have tried to fully understand this …

Anchor Positioning Quirks originally published on…

Time Travelling CSS With :target

Checkbox and radio button hacks are the (in)famous trick for creating games using just CSS. But it turns out that other elements based on user input can be hacked and gamified. There are very cool examples of developers getting creative with CSS games based on…

Time Travelling CSS With :target originally published on CSS-Tricks, which is…

Another Stab at Truncated Text

Seems like we’re always talking about clipping text around here. All it takes is a little browsing to spot a bunch of things we’ve already explored.

Article

on
Sep 19, 2012

Multi-line Text Overflow Ellipsis
accessibility content truncation

Shipping Tumblr and WordPress

Didya see that Tumblr is getting a WordPress makeover? And it’s not a trivial move:

This won’t be easy. Tumblr hosts over half a billion blogs. We’re talking about one of the largest technical migrations in internet history. Some

Shipping Tumblr and WordPress originally published on CSS-Tricks, which…

CSSWG Minutes Telecon (2024-08-21)

View Transitions are one of the most awesome features CSS has shipped in recent times. Its title is self-explanatory: transitions between views are possible with just CSS, even across pages of the same origin! What’s more interesting is its …

CSSWG Minutes Telecon (2024-08-21) originally published on CSS-Tricks,…

The “Other” C in CSS

I think it’s worth listening to anything Sara Soueidan has to say. That’s especially true if she’s speaking at an event for the first time in four years, which was the case when she took the stage at CSS Day …

The “Other” C in CSS originally…

Understanding Gutenberg Blocks, Patterns, and Templates

Developers suffer in the great multitudes whom their sacred block-based websites cannot reach.
Johannes Gutenberg (probably)
Long time WordPresser, first time Gutenberger here. I’m a fan even though I’m still anchored to a classic/block hybrid setup. I believe Johanes himself …

Understanding Gutenberg Blocks, Patterns, and Templates originally published…