Comments on CSS Wish List 2025 Things that Eric A. Meyer, CSS expert, writes about on his personal Web site; it's largely Web standards and Web technology, but also various bits of culture, politics, personal observations, and other miscellaneous stuff 2025-01-14T21:42:51Z https://meyerweb.com/eric/thoughts/2025/01/08/css-wish-list-2025/feed/atom/ By: CSS Wishlist for 2025 – Frontend Masters Boost CSS Wishlist for 2025 – Frontend Masters Boost https://frontendmasters.com/blog/css-wishlist-for-2025/ https://meyerweb.com/eric/thoughts/?p=5560#comment-4001739 2025-01-14T21:42:51Z 2025-01-14T21:42:51Z […] Eric Meyer: margin-trim […]

]]>
By: Weeknotes 25:02 | Jeff Bridgforth Weeknotes 25:02 | Jeff Bridgforth https://jeffbridgforth.com/weeknotes-january-13-2025/ https://meyerweb.com/eric/thoughts/?p=5560#comment-4001465 2025-01-13T21:51:56Z 2025-01-13T21:51:56Z […] CSS Wish List 2025 (Eric Meyer) […]

]]>
By: Ron Ron https://meyerweb.com/eric/thoughts/?p=5560#comment-4001275 2025-01-13T03:12:49Z 2025-01-13T03:12:49Z Is having top-down media queries that represent device sizes a recommended practice?

I’ve been hoping that we’d have enough support for queries based on an element’s parent that we could do bottom-up element/container queries and never have to think about specific screen sizes ever again

]]>
By: Christopher Nielsen Christopher Nielsen https://chriskirknielsen.com https://meyerweb.com/eric/thoughts/?p=5560#comment-4000144 2025-01-08T17:16:50Z 2025-01-08T17:16:50Z This is a list I can get behind, so I won’t need to write a list of my own, thank you! Some thoughts:

For text stroke, you should be able to use it on non-SVG elements already but prefixed (example lifted from CSS-Tricks!) — paint-order also works here:

  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;

So I guess this falls back to your unprefix all the things section. (though I don’t know if there’s a well-defined spec yet)

I’d love exclusions, not that I have a lot of use cases for them, but still love the idea. And I feel the same about masonry, hoping a consensus can be reached.

As far as grid rules, I like that a lot. Makes me think of the :nth-child(n) syntax, could even look like :nth-rule(2 of row) maybe? (perhaps too complex for such a simple feature, and perhaps a confusing name)

Finally, I already use custom media queries and transform them with LightningCSS for my site’s build, so I’d love to see those make it to browsers. I hope we can also use them in container queries.

]]>
By: Michael Bishop Michael Bishop https://michaelbishop.me https://meyerweb.com/eric/thoughts/?p=5560#comment-4000135 2025-01-08T16:49:14Z 2025-01-08T16:49:14Z Re: Margin and line box trimming, I just read Jen Simmon’s recent post CSS margin-trim and line height units and want to know why the rest of the browsers haven’t picked up on this yet.

]]>