Writing less.

A nice old (2016) video of a talk by Heydon Pickering about writing less code. It’s smart, funny, and I agree.

This is, beyond the general concept, what I took from his talk:

body {
    font-size: calc(1em + 1vw);
}
.grid {
    display: flex;
    flex-wrap: wrap;
    margin: -.5em;
}
.grid > * {
    margin: .0em;
    flex: 1 0 10em;
}
.view {
    display: none;
}
.view:target {
    display: block;
}

And also, this resource: youmightnotneedjs.com


Photo of Marykitty at the breakfast table in Loncoln City by me

Leave a Comment