news.volyx.in

58 bytes of CSS to look great nearly everywhere (gist.github.com)

723 points by thunderbong · 1445 days ago · 242 comments on HN

Article summary

The article discusses a simple CSS code that can be used to make a website look good on most displays. The code sets a maximum width, padding, and margin for the main content area. This approach is intended to provide a basic and reasonable way to improve the readability and appearance of a website. The article also explores the idea of optimizing CSS code for better performance and readability.

Main themes

  • CSS optimization
  • readability
  • default browser styling
  • line length
  • color softening
  • user experience
  • web development best practices

What commenters say

  • Some commenters argue that the default browser styling is outdated and should be changed to improve readability.
  • Others believe that changing default styling would break existing websites and is not a good idea.
  • There is a debate about the optimal line length for reading, with some arguing that it should be around 80 characters and others preferring longer or shorter lines.
  • Some commenters prefer a more minimalist approach to CSS, while others think that adding more styling elements can improve the user experience.
  • The use of softening colors is also discussed, with some arguing that it can improve readability and others finding it harmful.
  • Some commenters think that browsers should provide an option to choose between different default styling options.
  • Others believe that the decision to use a particular styling should be left to the website developer.