惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tenable Blog
博客园_首页
Vercel News
Vercel News
WordPress大学
WordPress大学
美团技术团队
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Y
Y Combinator Blog
博客园 - 【当耐特】
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
腾讯CDC
M
MIT News - Artificial intelligence
爱范儿
爱范儿
Recent Announcements
Recent Announcements
雷峰网
雷峰网
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
The Register - Security
The Register - Security
Jina AI
Jina AI
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Hugging Face - Blog
Hugging Face - Blog
P
Privacy & Cybersecurity Law Blog
Recorded Future
Recorded Future
Help Net Security
Help Net Security
N
News and Events Feed by Topic
博客园 - Franky
P
Proofpoint News Feed
L
LINUX DO - 热门话题
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
D
Docker
Google DeepMind News
Google DeepMind News
有赞技术团队
有赞技术团队
IT之家
IT之家
Security Latest
Security Latest
L
LangChain Blog
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
J
Java Code Geeks

Stuff & Nonsense Blog feed

The camera that took me places - Stuff & Nonsense Last week in the studio (CW27-26) - Stuff & Nonsense Last week in the studio (CW26-26) - Stuff & Nonsense Tracking down a nasty Netlify bandwidth burner - Stuff & Nonsense Last week in the studio (CW25-26) - Stuff & Nonsense Eleventy in a Box. A premium Eleventy start kit - Stuff & Nonsense Migrating from Statamic to Eleventy. This site’s had major surgery - Stuff & Nonsense Last week in the studio (CW24-26) - Stuff & Nonsense Last week in the studio (CW21-26) - Stuff & Nonsense Last week in the studio (CW20-26) - Stuff & Nonsense Last week in the studio (CW19-26) - Stuff & Nonsense Websites shouldn’t need maintenance. They need momentum. - Stuff & Nonsense Unfinished Business #142: The perfect request for proposal - Stuff & Nonsense Last week in the studio (CW18-26) - Stuff & Nonsense Militant masthead logo (r)evolution - Stuff & Nonsense Eleventy in a Box just add water - Stuff & Nonsense Last week in the studio (CW17-26) - Stuff & Nonsense I added a spring mode to my animated SVG landscape - Stuff & Nonsense Last week in the studio (CW16-26) - Stuff & Nonsense Far Right So Wrong; Stop Reform t-shirts are back in my shop - Stuff & Nonsense Last week in the studio (CW15-26) - Stuff & Nonsense I got tired of correcting machines, so I gave them five rules - Stuff & Nonsense How I designed an information-rich website for The Shared Homeland Paradigm - Stuff & Nonsense A bold new website for the Academy of Scoring Arts - Stuff & Nonsense
Making my view options toolbar more intuitive - Stuff & Nonsense
Andy Clarke, Stuff & Nonsense Ltd. · 2026-05-03 · via Stuff & Nonsense Blog feed

The view options toolbar at the bottom of my animated banners has irked me for a while. It had grown one button at a time, and the result looked ill-considered rather than designed. With a few minutes to spare at the end of last week, I finally redesigned it.

The view options toolbar before my redesign

When I first made my current SVG animated banners, I wanted to let people switch off the animations, so I added a play/pause button. Over the past few months, I added a winter theme, then a spring theme, and a character-collecting card game. What started out as play/pause became a toolbar.

Not much affordance showing which options were active

Those animation and theme toggles weren’t clear enough, and there was little affordance showing which options were on or off. So I added new icons to represent the different states.

New icons to show which options are active

With a contrasting background colour, the button states are now much clearer to recognise:

#animation-controls .btn[aria-pressed="true"] {
background-color: oklch(0.6664 0.12 239.96); }

I was already using aria-pressed to describe each button’s state, so I used that same attribute as the styling hook:

Clearer state for the play/pause toggle

It’s also now much more obvious whether the spring or winter themes are active.

Clearer state for the spring and winter themes

Now the buttons looked like a more cohesive collection, I wanted to group them into an unintrusive toolbar that wouldn’t obscure the illustrations behind it.

#animation-controls {
background-color: rgba(0,0,0,.25);
backdrop-filter: blur(5px);
scale: .65; }
#animation-controls:hover,
#animation-controls:focus-within {
box-shadow: inset 0 0 10px oklch(0.6664 0.12 239.96);
scale: 1; }
Inner shadow appears when the toolbar grows

These are subtle changes, but they scratch an itch that’s been there for a while.

The view options toolbar after my redesign

May 2, 2026 • Andy Clarke • design