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 Chris Coyier … Another Stab at Truncated … | Continue reading
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) or … | Continue reading
I sure do love little reminders about HTML semantics, particularly semantics that are tougher to commit to memory. Scott has a great one, beginning with this markup:
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 publish … | Continue reading
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 published on CSS-Tricks, which is part … | Continue reading
I created a little library at work to make those “skeleton screens” that I’m not sure anyone likes. […] We named it skellyCSS because… skeletons and CSS, I guess. We still aren’t even really using it very much, but it … Introducing originally published on CSS-Tricks, which is pa … | Continue reading
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 … U … | Continue reading
Happy birthday, Chris Coyier — and thank you for CSS-Tricks as well as everything you do at CodePen, ShopTalk, Boost, and even your personal blog!… Quick Hit #13 originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. | Continue reading
Giant kudos to Scott Jehl on releasing his new Web Components De-Mystified online course! Eight full hours of training from one of the best in the business.… Quick Hit #12 originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. | Continue reading
Eric gifting us with his research on all the various things that anchors (not links) do when they are in :focus. Turns out, there’s a lot! That’s an understatement! This is an incredible amount of work, even … Basic keyboard shortcut support for focused links originally published … | Continue reading
A gem from Chris Ferdinandi that details how to use custom events to hook into Web Components. More importantly, Chris dutifully explains why custom events are a better fit than, say, callback functions. With a typical JavaScript library, you pass … Callbacks on Web Components? o … | Continue reading
Hey look at that, the State of CSS Survey for 2024 is open and taking submissions. … Quick Hit #11 originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. | Continue reading
You ever find yourself in bumper-to-bumper traffic? I did this morning on the way to work (read: whatever cafe I fancy). There’s a pattern to it, right? Stop, go, stop, go, stop… it’s almost rhythmic and harmonious in the most … The Intersection of Speed and Proximity originally … | Continue reading
A client asked if we could mimic the “rubber band” scrolling behavior on many mobile devices. I’m sure you know what I’m talking about. It’s a behavior that already exists and happens automatically in most browsers. In iOS Safari, for … Elastic Overflow Scrolling originally publi … | Continue reading
A couple of weeks ago I was super excited about publishing my first CSS-Tricks post: “Letter Spacing is Broken. Forget about that though, what’s important is the post’s topic: letter spacing is broken and doesn’t work as the CSS … RTL Styling 101 originally published on CSS-Trick … | Continue reading
I can’t say I would have ever expected to see Jeremy Keith performing the Yeah Yeah Yeahs song “Maps”, but then again, I don’t know what I expected to happen at Frostapalooza. The Event Brad Frost, web … On the Ground at Frostapalooza originally published on CSS-Tricks, which is … | Continue reading
Every programming language has loops. Loops perform an operation (i.e., a chunk of work) a number of times, usually once for every item in an array or list, or to simply repeat an operation until a certain condition is met.… All About JavaScript Loops originally published on CSS- … | Continue reading
I was just going over the latest CSSWG minutes (you can subscribe to them at W3C.org) and came across a few interesting nuggets I wanted to jot down for another time. The group discussed the CSS Values, CSS Easing, and … CSSWG Minutes Telecon (2024-08-14) originally published on … | Continue reading
Yes, yes. Functionally, they are different. But heck if I didn’t know about the wacky thresholds until Jens Oliver Meiert tooted a pair of quick polls. According to the HTML Standard: If the current cell has a colspan attribute, then … How are the `colspan` and `rowspan` attribut … | Continue reading
Free e-book from Jens Oliver Meiert that’ll bore you to death in the best way: Rote Learning HTML & CSS… Quick Hit #11 originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. | Continue reading
Killed by Google is called a “graveyard” but I also see it as a resume in experimentation.… Quick Hit #10 originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. | Continue reading
Modern CSS keeps giving us a lot of new, easier ways to solve old problems, but often the new features we’re getting don’t only solve old problems, they open up new possibilities as well. Container queries are one of those … “Smart” Layouts With Container Queries originally publi … | Continue reading
“This isn’t a website. Or even a blog. It’s a conversation.” That’s the idea! Jay Hoffman and I’ve been chatting a long time now, back since he began writing a series on web history. It’s easy-going talking with someone … Dialogues Blog originally published on CSS-Tricks, which i … | Continue reading
You might recall that Alvaro suggests bumping up font-size to 1.25rem from the default user agent size of 16px. Sebastian Laube pokes at that: I wouldn’t adopt Alvaro’s suggestion without further ado, as I would waste so much space … font-size Limbo originally published on CSS-Tr … | Continue reading
Mental health is always tough to talk about, especially in an industry that, to me, often rewards ego over vulnerability. I still find it tough even after having written about my own chronic depression and exploring UX case studies about … Mental Health in Tech Podcast Interview … | Continue reading
A new explainer for a new HTML attribute to handle handwritten inputs. Like this: | Continue reading
Remember these? Chris would write a post now and then to chronicle things happening around the ol’ CSS-Tricks site. It’s only been 969 days since the last one, give or take. Just think: back then we were poking at … CSS Chronicles XLII originally published on CSS-Tricks, which is … | Continue reading
Ever search for CSS info and run into some article — perhaps even one or a dozen on this site — that looks promising until you realize it was published when dinosaurs roamed the planet? The information is good, but … It’s Time To Talk About “CSS5” originally published on CSS-Tric … | Continue reading
Christian Heilmann gave this talk at Typo3 Developer Days. I’m linking it up because it strikes an already stricken nerve in me. The increasing complexity of web development has an inverse relationship with the decreasing number of entry points … Christian Heilmann: Let’s make a … | Continue reading
It was a few years ago during the 2020 Olympics in Tokyo 2020 that I made a demo of animated 3D Olympic rings. I like it, it looks great, and I love the effect of the rings crossing each other.… CSS Olympic Rings originally published on CSS-Tricks, which is part of the DigitalOce … | Continue reading
Heydon on the virtues of hyperlinking hypertext in an anchor element: Sometimes, the is referred to as a hyperlink, or simply a link. But it is not one of these and people who say it is one are … (Hyper) Links About (Hyper) Links originally published on CSS-Tricks, which is part … | Continue reading
I have to thank Jeremy Keith and his wonderfully insightful article from late last year that introduced me to the concept of HTML Web Components. This was the “a-ha!” moment for me: When you wrap some existing markup in a … HTML Web Components Make Progressive Enhancement and CSS … | Continue reading
Most days, I’m writing vanilla CSS. Thanks to CSS variables and nesting, I have fewer reasons to reach for Sass or any other preprocessor. The times I reach for Sass tend to be when I need a @mixin to loop … CSS Functions and Mixins Module Notes originally published on CSS-Tricks … | Continue reading
It’s been a few months out since A Book Apart closed shop. I’m sad about it, of course. You probably are, too, if you have one of their many brightly-colored paperbacks sitting on a bookshelf strategically placed as a backdrop … Where You Can Still Get A Book Apart Titles origina … | Continue reading
Smashing Magazine invited me to sit down for a one-on-one with “Uncle” Dave Rupert to discuss web components, yes, but also check in on Dave’s new Microsoft gig and what the ShopTalk co-host is working on these days. I first … Smashing Hour With Dave Rupert originally published o … | Continue reading
This post came up following a conversation I had with Emilio Cobos — a senior developer at Mozilla and member of the CSSWG — about the last CSSWG group meeting. I wanted to know what he thought were the … Letter Spacing is Broken and There’s Nothing We Can Do About It… Maybe orig … | Continue reading
I’ve always been fascinated with how much we can do with just HTML and CSS. The new interactive features of the Popover API are yet another example of just how far we can get with those two languages alone. You … Pop(over) the Balloons originally published on CSS-Tricks, which is … | Continue reading
These sorts of roundups always get me. My wife will flip through Zillow photos of the insides of homes for hours because she likes seeing how different people decorate, Feng Shui, or what have you. That’s her little dip into … Alvaro Montoro: CSS One-Liners to Improve (Almost) Ev … | Continue reading
From June 11–13, the CSS Working Group (CSSWG) held its second face-to-face meeting of the year in Coruña, Spain, with a long agenda of new features and improvements coming to language. If 2023 brought us incredible advances like … CSS Stuff I’m Excited After the Last CSSWG Meeti … | Continue reading
Sara Joy’s adaptation of the song “Everybody’s Free (To Wear Sunscreen)” (YouTube) originally by Baz Luhrman with lyrics pulled directly from Mary Schmich‘s classic essay, “Wear Sunscreen”. Anyone who has graduated high school since 1999 doesn’t even have … Sara Joy: Everybody’s … | Continue reading
Sarah Joy’s adaptation of the song “Everybody’s Free (To Wear Sunscreen)” (YouTube) originally by Baz Luhrman with lyrics pulled directly from Mary Schmich‘s classic essay, “Wear Sunscreen”. Anyone who has graduated high school since 1999 doesn’t even have … Sarah Joy: Everybody’ … | Continue reading
A complete guide covering all of the various methods we have to select elements in CSS and how to use them for applying styles. CSS Selectors originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. | Continue reading
A few sirens went off a couple of weeks ago when the CSS Working Group (CSSWG) resolved to add an if() conditional to the CSS Values Module Level 5 specification. It was Lea Verou’s X post that same day that … “If” CSS Gets Inline Conditionals originally published on CSS-Tricks, … | Continue reading
I know this is something Chris has wanted forever, so it’s no surprise he’s already got a fantastic write-up just a day after the news broke. In fact, I first learned about it from his post and was unable … Transitioning to Auto Height originally published on CSS-Tricks, which is … | Continue reading
Oh, hey there! It’s been a hot minute, hasn’t it? Thought I’d pop in and say hello while we get to know the Popover API a bit. Poppin’ In originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. | Continue reading
CSS Meditation #8: .work + .life { border: 10px solid #000; }… originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. | Continue reading
CSS Meditation #7: Nobody is perf-ect.… originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. | Continue reading