Rad! Did you know you can access all HTML attributes in CSS? Not just data-* ones.

I use this snippet to ensure my images don’t cause content reflows while maintaining responsiveness:

img {
    width: 100%
    aspect-ratio: attr(width) / attr(height);
}