Brian (@quicdev) header
Brian (@quicdev) profile picture

I build for the web, #CKA

The Matrix
Joined November 2016
Photo by Brian (@quicdev)Photo by Brian (@quicdev)Photo by Brian (@quicdev)Photo by Brian (@quicdev)Photo by Brian (@quicdev)Photo by Brian (@quicdev)Photo by Brian (@quicdev)Photo by Brian (@quicdev)Photo by Brian (@quicdev)Photo by Brian (@quicdev)
Brian retweeted
You (and Claude) have been styling pill buttons wrong all along. Fair warning: this one gets VERY nerdy 🤓 Round ends steal space from the text and push the icon off-center. Here's the CSS that fixes both, with a bit of π.
53
163
17
3,224
203,402
🚨 The MCU watch order to get you ready for Avengers: Doomsday
181
3,471
284
35,967
2,097,120
Brian retweeted
These are my top resources for getting design inspirations 1. mesh3d.gallery - the best real-time Three.js sites in one gallery 2. recent.design - a daily curation of design, websites and tools 3. mobbin.com - real screens and flows from shipped apps and sites 4. threeui.com - Three.js landing pages, components and shaders 5. collectui.com - hand-picked interfaces, sorted by component 6. awwwards.com - the best new sites every day, picked by a jury
25
78
3
975
40,973
stop making boring PDFs pdfcn.dev/
22
39
1,305
188,734
If you want to become good at system design (in 3 weeks), then learn these 15 case studies:
13
56
374
35,525
The Mathematical Reason Most People Never 'Make it'
32
173
11
2,121
59,461
you just need html to build a website btw motherfuckingwebsite.com
65
119
11
2,230
315,378
The video I watched every morning At 6 AM for 6 months !!
105
3,089
73
18,611
576,420
This is f*cking insane. Anthropic engineer: "You're not supposed to prompt Opus 5.5 You're supposed to build a system that prompts itself. At Anthropic, 90% of our engineers have already built these systems" In 30 minutes, she walks through exactly how Anthropic builds agents that remember, fix their own mistakes and get sharper with every run. Better than any $1000-$2000 agent course I've seen. Watch it, then read the article below ↓
Readers added context they thought people might want to know
Lamis never says "You're not supposed to prompt Opus 5.5” in here talk at AI Dev Con. The caption misrepresents the video knowing most won’t watch the video all the way through and jump to the articles. youtube.com/watch?v=tTcxVv…
217
667
44
8,797
1,658,726
Brian retweeted
html tip: tooltips that wait once, then show at once. <𝚍𝚒𝚟 𝚌𝚕𝚊𝚜𝚜="𝚋𝚊𝚛"> <𝚋𝚞𝚝𝚝𝚘𝚗 𝚒𝚗𝚝𝚎𝚛𝚎𝚜𝚝𝚏𝚘𝚛="𝚝𝚒𝚙-𝚋𝚘𝚕𝚍" 𝚊𝚛𝚒𝚊-𝚕𝚊𝚋𝚎𝚕𝚕𝚎𝚍𝚋𝚢="𝚝𝚒𝚙-𝚋𝚘𝚕𝚍"> <𝚜𝚟𝚐>...</𝚜𝚟𝚐> </𝚋𝚞𝚝𝚝𝚘𝚗> <𝚜𝚙𝚊𝚗 𝚒𝚍="𝚝𝚒𝚙-𝚋𝚘𝚕𝚍" 𝚙𝚘𝚙𝚘𝚟𝚎𝚛="𝚑𝚒𝚗𝚝">𝙱𝚘𝚕𝚍</𝚜𝚙𝚊𝚗> </𝚍𝚒𝚟> .𝚋𝚊𝚛 𝚋𝚞𝚝𝚝𝚘𝚗 { 𝚒𝚗𝚝𝚎𝚛𝚎𝚜𝚝-𝚍𝚎𝚕𝚊𝚢-𝚜𝚝𝚊𝚛𝚝: 𝟶.𝟻𝚜; } .𝚋𝚊𝚛:𝚑𝚊𝚜(:𝚒𝚗𝚝𝚎𝚛𝚎𝚜𝚝-𝚜𝚘𝚞𝚛𝚌𝚎) 𝚋𝚞𝚝𝚝𝚘𝚗 { 𝚒𝚗𝚝𝚎𝚛𝚎𝚜𝚝-𝚍𝚎𝚕𝚊𝚢-𝚜𝚝𝚊𝚛𝚝: 𝟶𝚜; }
5
18
2
394
12,479
Brian retweeted
small UI motion tip: don't always map cursor movement directly to your UI. 𝚌𝚘𝚗𝚜𝚝 𝚡 = 𝚞𝚜𝚎𝙼𝚘𝚝𝚒𝚘𝚗𝚅𝚊𝚕𝚞𝚎(𝟶) 𝚌𝚘𝚗𝚜𝚝 𝚜𝚖𝚘𝚘𝚝𝚑𝚇 = 𝚞𝚜𝚎𝚂𝚙𝚛𝚒𝚗𝚐(𝚡, { 𝚜𝚝𝚒𝚏𝚏𝚗𝚎𝚜𝚜: 𝟷𝟾𝟶, 𝚍𝚊𝚖𝚙𝚒𝚗𝚐: 𝟸𝟶 }) 𝚛𝚎𝚝𝚞𝚛𝚗 <𝚖𝚘𝚝𝚒𝚘𝚗.𝚍𝚒𝚟 𝚜𝚝𝚢𝚕𝚎={{ 𝚡: 𝚜𝚖𝚘𝚘𝚝𝚑𝚇 }} /> instead of the element instantly following x, useSpring gives it a bit of weight and inertia. works really well for cursors, drag interactions, parallax and elements following the pointer.
4
7
49
1,904
Brian retweeted
css tip: tooltips that know when they’re about to get clipped. new way (flips automatically): .trigger { anchor-name: --tip; } .tooltip { position: fixed; position-anchor: --tip; position-area: right; position-try-fallbacks: flip-inline, flip-block; } old way (gets cut off near edges): position: absolute; left: 100%; translate: 0 -50%;
4
25
388
10,438
Brian retweeted
css tip 📍 - the same :𝚝𝚊𝚛𝚐𝚎𝚝-𝚌𝚞𝚛𝚛𝚎𝚗𝚝 gives you a scrollspy with no js. .𝚝𝚘𝚌 { 𝚜𝚌𝚛𝚘𝚕𝚕-𝚝𝚊𝚛𝚐𝚎𝚝-𝚐𝚛𝚘𝚞𝚙: 𝚊𝚞𝚝𝚘; } .𝚝𝚘𝚌 𝚊:𝚝𝚊𝚛𝚐𝚎𝚝-𝚌𝚞𝚛𝚛𝚎𝚗𝚝 { 𝚋𝚊𝚌𝚔𝚐𝚛𝚘𝚞𝚗𝚍: 𝚋𝚕𝚊𝚌𝚔; 𝚌𝚘𝚕𝚘𝚛: 𝚠𝚑𝚒𝚝𝚎; } each <𝚊 𝚑𝚛𝚎𝚏="#𝚒𝚍"> in .𝚝𝚘𝚌 tracks its section. the link for the section in view matches :𝚝𝚊𝚛𝚐𝚎𝚝-𝚌𝚞𝚛𝚛𝚎𝚗𝚝 and follows as you scroll.
css tip 🪟 - carousel tabs with no js. one line turns a scroll-snap carousel into a real tab list: .𝚌𝚊𝚛𝚘𝚞𝚜𝚎𝚕 { 𝚜𝚌𝚛𝚘𝚕𝚕-𝚖𝚊𝚛𝚔𝚎𝚛-𝚐𝚛𝚘𝚞𝚙: 𝚋𝚎𝚏𝚘𝚛𝚎 𝚝𝚊𝚋𝚜; } .𝚌𝚊𝚛𝚘𝚞𝚜𝚎𝚕::𝚜𝚌𝚛𝚘𝚕𝚕-𝚖𝚊𝚛𝚔𝚎𝚛-𝚐𝚛𝚘𝚞𝚙 { 𝚍𝚒𝚜𝚙𝚕𝚊𝚢: 𝚏𝚕𝚎𝚡; 𝚐𝚊𝚙: 𝟾𝚙𝚡; 𝚑𝚎𝚒𝚐𝚑𝚝: 𝟺𝟾𝚙𝚡; } .𝚌𝚊𝚛𝚘𝚞𝚜𝚎𝚕 > 𝚕𝚒::𝚜𝚌𝚛𝚘𝚕𝚕-𝚖𝚊𝚛𝚔𝚎𝚛 { 𝚌𝚘𝚗𝚝𝚎𝚗𝚝: 𝚊𝚝𝚝𝚛(𝚍𝚊𝚝𝚊-𝚝𝚊𝚋); } .𝚌𝚊𝚛𝚘𝚞𝚜𝚎𝚕 > 𝚕𝚒::𝚜𝚌𝚛𝚘𝚕𝚕-𝚖𝚊𝚛𝚔𝚎𝚛:𝚝𝚊𝚛𝚐𝚎𝚝-𝚌𝚞𝚛𝚛𝚎𝚗𝚝 { 𝚋𝚊𝚌𝚔𝚐𝚛𝚘𝚞𝚗𝚍: 𝚋𝚕𝚊𝚌𝚔; 𝚌𝚘𝚕𝚘𝚛: 𝚠𝚑𝚒𝚝𝚎; }
8
43
3
566
17,706
Brian retweeted
shaduocn sidebar: shaduocn.vercel.app
37
27
5
925
54,359
“Spend your money on the things money can buy. Spend your time on the things money can't buy.” — Haruki Murakami
4
998
4
6,768
61,921
Brian retweeted
design tip 🌲 - size icons with 𝟷𝚌𝚊𝚙, not 𝚙𝚡. 𝟷𝚌𝚊𝚙 is the height of a capital letter in the current font, so the icon tracks the text at any size: .𝚕𝚊𝚋𝚎𝚕 { 𝚍𝚒𝚜𝚙𝚕𝚊𝚢: 𝚏𝚕𝚎𝚡; 𝚊𝚕𝚒𝚐𝚗-𝚒𝚝𝚎𝚖𝚜: 𝚋𝚊𝚜𝚎𝚕𝚒𝚗𝚎; } .𝚕𝚊𝚋𝚎𝚕 𝚜𝚟𝚐 { 𝚋𝚕𝚘𝚌𝚔-𝚜𝚒𝚣𝚎: 𝟷𝚌𝚊𝚙; } 𝚋𝚊𝚜𝚎𝚕𝚒𝚗𝚎 sits the icon on the text's baseline, so it spans the caps in any font. the width follows the 𝚟𝚒𝚎𝚠𝙱𝚘𝚡.
16
82
6
1,356
50,387
Head of Design at Stripe on how to stop creating zombie UIs
If we only use AI to make the things that we already make, just faster, then we're definitely missing out on the most interesting part. From my talk at @lennysan’s Summit, here are four ideas for raising the ceiling, not just the floor: - Have a point of view [5:38] - Encode your standards into the machine [9:07] - Don't confuse done with good [12:21] - Unleash creativity and artistry [16:19] Full talk here: youtu.be/GLvFTMtw4Jk?si=-5Ts…
106
466
76
5,153
360,086
Brian retweeted
not every CSS animation needs to be smooth. .𝚕𝚘𝚊𝚍𝚎𝚛 { 𝚊𝚗𝚒𝚖𝚊𝚝𝚒𝚘𝚗: 𝚜𝚙𝚒𝚗 𝟷𝚜 𝚜𝚝𝚎𝚙𝚜(𝟾) 𝚒𝚗𝚏𝚒𝚗𝚒𝚝𝚎; } 𝚜𝚝𝚎𝚙𝚜() splits the animation into discrete jumps instead of continuously interpolating it. really useful for sprite animations, counters, clocks and frame-by-frame effects.
4
10
148
4,453
Brian retweeted
css tip ◎ use 𝚜𝚊𝚏𝚎 𝚌𝚎𝚗𝚝𝚎𝚛 on a row that can overflow. with plain center, a row wider than its box spills off both sides. 𝚜𝚊𝚏𝚎 𝚌𝚎𝚗𝚝𝚎𝚛 centers while it fits and starts at the left edge when it doesn't: .𝚝𝚊𝚋𝚜 { 𝚍𝚒𝚜𝚙𝚕𝚊𝚢: 𝚏𝚕𝚎𝚡; 𝚓𝚞𝚜𝚝𝚒𝚏𝚢-𝚌𝚘𝚗𝚝𝚎𝚗𝚝: 𝚜𝚊𝚏𝚎 𝚌𝚎𝚗𝚝𝚎𝚛; 𝚘𝚟𝚎𝚛𝚏𝚕𝚘𝚠-𝚡: 𝚊𝚞𝚝𝚘; }
2
24
1
408
10,353
"Almost every software development organization has at least one developer who takes tactical programming to the extreme: a tactical tornado. The tactical tornado is a prolific programmer who pumps out code far faster than others but works in a totally tactical fashion. [...] In some organizations, management treats tactical tornadoes as heroes. "However, tactical tornadoes leave behind a wake of destruction. They are rarely considered heroes by the engineers who must work with their code in the future. Typically, other engineers must clean up the messes left behind by the tactical tornado, which makes it appear that those engineers (who are the real heroes) are making slower progress." @JohnOusterhout, A Philosophy Of Software Design, 2018 Sound familiar?
196
228
42
3,389
222,777