back

by codazoda·6y ago·view on hn ↗
Most of the "small" designs and frameworks I've seen are quite large, in my mind. I just finished building a minimalist html/css template for some of my own projects. I'm starting to feel like this is some lost art form.

https://neat.joeldare.com

2 comments
Your `pre` elements are set to `overflow: scroll;`. You pretty much never really want that. (And it looks terrible on platforms that still have real scrollbars instead of the iOS-style overlay indicators that fade away. It should be `auto`.

See https://www.w3.org/TR/CSS21/visufx.html#propdef-overflow

I've updated this. Still looks the same on all my devices but hopefully it's an improvement for others. Thanks, again, for the tip.
Thanks, I'll try auto and see how it goes.
Why you don't center your body? We need to turn our head to read.
I couldn't decide on this one. When I centered it, it didn't feel quite right. I searched the web for examples, and found a lot of left aligned examples, so I went with that. I also had this in my design decisions, but because I hadn't really decided yet, I took it out.

I'll try centered again.