Hacker News new | ask | show | jobs
by shuntress 922 days ago
There should be a basic simple form of "Center this thing" and the user shouldn't have to care whether it's an image, a header, text, or buttons.

Obviously there are edge cases and complex behavior needs to be handled as well. But there should also be sane defaults and the computer should figure everything out automatically. The default behavior for an image that is larger than the screen should be to automatically scale it down while maintaining the aspect ratio.

CSS just does not have that level of usability right now. Flexbox is a huge step in the right direction but it's still not enough.