
💻 Design System Engineering Lead @TRowePrice 📣Speaker 💪Web Platform Advocate & Design Tokens Enthusiast
Joined August 2017
- Tweets614
- Following739
- Followers185
- Likes1.8K
Alex Wilson retweeted
If components are just LEGO bricks, I’m not sure if I even want them anymore. cianfrani.dev/posts/the-lego…
Alex Wilson retweeted
Not only was styling baked into HTML at some point, it's important that it's no longer baked into it, mainly for accessibility reasons. @hdv outlines some of those reasons here: hidde.blog/why-its-good-for-…
Not everything is just about DX. Separation of concerns benefits UX too.#a11y
Alex Wilson retweeted
CSS Tip! ⭐️
You can use the lh (line-height) unit on background layers to emphasize multiple lines of text responsively without extra elements! ⚡️
h1 {
background: linear-gradient(white, white), grey;
background-size:
100% calc(var(--lines) * 1lh), 100% 100%;
background-clip: text;
color: transparent;
}
Here you emphasize the first two lines of the heading with white using a sized background-image layer
It has a size of 2lh ✨
Then the rest of the element is colored with whatever other colors you want to use as layers. If you watch the video, you can see different colors used for different lines and then fade it out if you wish. You could do whatever you like with it 😎
Neat part is that it's responsive. The font-size is set with a clamp and you can resize the viewport or the element and the number of lines emphasized will remain 🤙
Last but not least, make sure to use background-clip: text and color: transparent so the background shines through 🔥
Also, note that if you're only looking to highlight the first line, you can still use the :first-line pseudo 🫶
Have a play with it and see what you can come up with!
@CodePen link below! 👇
Gecko: Intent to Prototype & Ship: Line-height Units (lh, rlh) groups.google.com/a/mozilla.…
Alex Wilson retweeted
:has() is in Firefox beta from today, have fun: mozilla.org/en-US/firefox/12…
Alex Wilson retweeted
“Systems thinking is a discipline for seeing the structures that underlie complex situations.” — Peter Senge
Alex Wilson retweeted
The best way to advocate for web components is to build great things with them. Actions speak louder than words. #useThePlatform
Alex Wilson retweeted
"The Web Sustainability Guidelines (WSG) 1.0" w3c.github.io/sustyweb/
—
...best practices based on measurable, evidence-based research for designing & implementing digital products & services that put people and the planet first. 🍀🙌🏻
Alex Wilson retweeted
This actually happened to Evernote. They took the advice of “keep talking to your customers and ship whatever they want” as the only guiding principle for product development. And what ended up happening was paying users liked it, but the product become unintuitive and feature overload for the new user. To the extent that they had to rebuild a version for the new user.
Users don’t always know if they really want something. It’s your job to take the extra step to think on their behalf: whether they really need this. Or can what they ask be done through something much simpler. Or can you solve multiple problems of different users with one new redesign rather than a bunch of changes. The right principle is: “Keep talking and listening to your users, spend the additional time thinking on their behalf what they actually want, and ship that”.
Alex Wilson retweeted
Someone used CGI to add juggling balls to the ball less juggling scene from The Office.
This might be the best video on the internet
Alex Wilson retweeted
Why web components?
One reason: it's super fast and easy to use pre-built components that offer great functionality and are easy to style. Like Swiper!
codepen.io/chriscoyier/pen/Q…
Alex Wilson retweeted
#CSS *is* a programming language.
Don't @ me.
Replying to @argyleink
CSS explained:
- check for support
- no reduced-motion, it's a cross fade
- share the scroll linked setup with both the nav and the h2 inside it
- animate with body scroll()
- clamp the range to the first 100px
- nav play the box shadow keyframes

ALT @supports (animation-timeline: view()) { nav, nav > h2 { animation: fade-in auto linear both; /* animation powered by page scroll */ animation-timeline: scroll(); /* clamp the range to the first 100px of scroll */ animation-range: exit 0% exit 100px; } nav { animation-name: shadow-in; } } @keyframes fade-in { from { opacity: 0 } to { opacity: 1 } } @keyframes shadow-in { to { box-shadow: 0 10px 10px #0003; } }
Alex Wilson retweeted
Lit is on Hacker News today! My favorite comment:
“Been using Lit for a few years now, it just keeps getting better. It does what it does, and stays out the way. Please don't call it a framework though, the best part of Lit is that is basically some (very lovely!) sugar over standards built into your browser. And as browsers keep improving (at an amazing pace IMO) Lit keeps getting smaller, which might be my favorite thing about it.”
news.ycombinator.com/item?id… – at New Hampshire, USA
Alex Wilson retweeted
Web Accessibility Checklist
Define accessibility success criteria for UI components. The tool is available for web and native apps.
magentaa11y.com/web/
Alex Wilson retweeted
On our path to achieving the double A, we sometimes encounter issues during development, which are actually problems that stem from the design phase.
#CodeNewbie
dev.to/ismaestro/designing-f…
Alex Wilson retweeted
Curated list of the top #DesignSystem resources, plugins, platforms, design systems, tools, libraries, podcasts, videos, books, conferences. ❤️
thedesignsystem.guide/resour…
Alex Wilson retweeted
Stripe puts web components front-and-center in a new product launch: stripe.com/docs/connect/get-…
Alex Wilson retweeted
Epic work by the @Adobe Spectrum team on open sourcing their Design Token Visualiser! Such a useful tool 🔥
👏👏 @GarthDB and Adam Portilla
opensource.adobe.com/spectru…
Alex Wilson retweeted
"They don't use any front-end frameworks!" @ThePrimeagen reacting to how fast the FrontendMasters.com website is on his stream.
Alex Wilson retweeted
Stable today in Chrome 114 🎉:
🎁 CSS: text-wrap: balance
developer.chrome.com/blog/cs…
🍿 HTML: popover API
developer.chrome.com/blog/in…
⏱️ JS: scrollend event
developer.chrome.com/blog/sc…
🎥 Video:
youtube.com/watch?v=qqTnAWL7…
























