Blog
This is page 13 of 30.
AVIF and WebP are not always better than PNG and JPG
Article posted 24th May 2021 in Development and Performance
AVIF and WebP are better image compression smaller files than PNG and JPG, but
Converting images to AVIF in 2021
Article posted 18th May 2021 in Development and Performance
AVIF is amazing, but the big downside is that it’s not an export option in any of my image software yet. Here’s what I’m doing in the meantime.
AVIF image compression is incredible
Article posted 17th May 2021 in Development and Performance
WebP images are now supported in all modern web browsers, but the emerging AVIF format promises to be even better; I’m pleased to tell you it is!
Using Git restore to discard changes within a file
Article posted 11th May 2021 in Development and Git
git restoreis great, and one of its superpowers is its patch mode where we can restore parts of a file, rather than the whole file at once.Undelete a file with Git
Article posted 10th May 2021 in Development and Git
I’ve talked about how great
git restoreis, but I missed a really obvious use ofgit restore: restoring a deleted file!Be careful with strikethrough
Article posted 20th April 2021 in Accessibility, Development and HTML
Struck-through text isn’t read by screen readers. This is true of all text-level semantics, but it’s worth drawing attention to strikethough.
The difference between strikethrough and del
Article posted 14th April 2021 in Development and HTML
Just like
<em>and<i>, and<strong>and<b>, the distinction between<s>and<del>is subtle, but it’s worth knowing.Git restore to discard changes
Article posted 13th April 2021 in Development and Git
I no longer use
git checkoutto switch branches; I’ve also stopped using it to discard uncommitted changes: let me introducegit restore!Using Git switch to change branches
Article posted 12th April 2021 in Development and Git
Since upgrading to macOS Big Sur, I’ve noticed that
git switchworks. But why do we need it when we’ve gotgit checkout?Cleaner focus outlines with box-decoration-break
Article posted 8th April 2021 in CSS
When I changed my site’s form and button focus styles, links felt a bit left out. But discovering
box-decoration-breakhas made things consistent.