Skip to content

Instantly share code, notes, and snippets.

@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active May 6, 2024 10:42
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
anonymous
anonymous / gist:5789079
Created June 15, 2013 18:33
float x;
void setup() {
size(450, 600);
background(255);
}
anonymous
anonymous / gist:5789069
Created June 15, 2013 18:29
float colorRangeX;
float colorRangeY;
void setup() {
// where we set things up
size(450, 600);
background(0);