-
📢 New blog post: Barebones CSS for Fluid Images @CarolSaysThings inspired me to do a deep dive and test
width: 100%
versusmax-width: 100%
CSS and how those interact with the[width]
,[height]
, and[srcset]
attributes. I learned a few things! zachleat.com/web/fluid-images/ -
In this same topic, @RobDodson shared a great video from @jensimmons: youtube.com/watch?v=4-d_SoCHeWE She brings up the additional use case of art directed <picture> (different aspect ratios for different sources)!