accudio’s avataraccudio’s Twitter Archive—№ 4,564

    1. Seriously fuck the responsive image syntax. I know it's powerful and hard and all that, but there are so many cases where the best sizes attribute you can do is a vague guess that doesn't work all the time is ridiculous
  1. …in reply to @Accudio
    Object-fit is used in so many designs and looks great - requires a fucking PHD in maths to work out that shit on the server-side. Why isn't that handled by the browser? Why can we not use height to define it?
    1. …in reply to @Accudio
      And you want to get pixel-perfect sizes attributes across browsers and OSes with differing scrollbar widths - no chance. Why on earth isn't there a viewport unit that doesn't include the scrollbar?!