Bulletproof flag components

A clever use of CSS grid from Jay Freestone to accomplish a particular variation of the media object design pattern (where the image is centered with the title) without any magic numbers anything that isn’t flexible and resiliant. The trick …

The post Bulletproof flag components appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://www.jayfreestone.com/writing/bulletproof-flag/

Établi 4y | 29 janv. 2021 à 22:21:06


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Thank You (2024 Edition)

I'm more thankful this time around because, last year, I didn't even get to write this post. But now that I'm back, writing this feels so, so, so good. There's a lot more gusto going into my writin

30 déc. 2024 à 16:20:19 | CSS tricks
A CSS Wishlist for 2025

2024 has been one of the greatest years for CSS: cross-document view transitions,

23 déc. 2024 à 15:10:04 | CSS tricks
The Little Triangle in the Tooltip

Today, I want to focus on what I'll call the little triangle in the tooltip. It receives minimal attention but it amazes you by how many ways there are to make them. Let's start with the simplest a

20 déc. 2024 à 17:30:19 | CSS tricks
How to Create Multi-Step Forms With Vanilla JavaScript and CSS

When was the last time you developed a multi-step form? There’s so much to think about and so many moving pieces that need to be managed. But doing it by hand can be a good exercise and a great way

18 déc. 2024 à 16:50:11 | CSS tricks
What ELSE is on your CSS wishlist?

What else do we want or need CSS to do? Chris kept a CSS wishlist, going back as far as 2013 and following back up on it in 2019. We all have things we'd like to see CSS do and we always will no ma

17 déc. 2024 à 20:10:04 | CSS tricks
Fluid Superscripts and Subscripts

How much attention do you pay to the alignments of your subscripts and superscripts? Lorenz Wöehr has you covered with a recipe for fluid scaling.


11 déc. 2024 à 20:30:05 | CSS tricks
Smashing Meets Product Design

I had the pleasure of hosting a recent Smashing Magazine workshop on product design, subbing for Vitaly Friedman who usual

10 déc. 2024 à 16:30:21 | CSS tricks