D7460N

11.2K posts

D7460N banner
D7460N

D7460N

@D7460N

UI/UX SME 25+ yrs design/engineering the wild wild web

Virginia Katılım Şubat 2009
1K Takip Edilen155 Takipçiler
D7460N retweetledi
jhey ʕ•ᴥ•ʔ
css scrollbar-color lets you style the thumb and track of a scrollbar 🧑‍🍳 scrollbar-color: var(--thumb, canvasText) var(--track, #0000); lose the vanilla track you can even get dynamic with it 👇
jhey ʕ•ᴥ•ʔ@jh3yy

if you’re dynamically masking a scroll container with css, consider leaving room for the scrollbar instead of masking it too 🧑‍🍳 mask-repeat: no-repeat; mask-size: calc(100% - 10px) 100px;

English
15
20
516
31.3K
D7460N retweetledi
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
Animated img carousel 🤙 Use CSS trig functions to get radius and layout images as a cylinder 🤓 Use scroll animation to rotate the cylinder 📜 :root { --a: calc((360 / var(--total)) * 1deg); --r: calc((var(--item-width) / sin(var(--a))) * -1); } Explained 👇
Joe Pea@trusktr

@jh3yy Demo request! This image strip, but in pure CSS: codepen.io/trusktr/pen/Po…

English
14
135
1.5K
334.7K
D7460N retweetledi
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
CSS Tip! 🔮 Wanna make that ring text effect? 💅 You can do it with trig functions 🤓 .ring { --a: calc(360 / var(--chars)); --r: calc(1 / sin(var(--a))) * -1ch; } .char { transform: rotate(calc(var(--a) * var(--idx))) translateY(var(--r)); } @CodePen link below! 👇
English
19
230
1.7K
116.2K
D7460N retweetledi
Ali
Ali@alicalimli_dev·
The text-overflow: ellipsis in CSS only works on a single line. For multiline text ellipsis, use this instead: p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; max-width: 300px; } -webkit-line-clamp sets how many lines before the ellipsis happens. This works on all modern browsers. Have you been using JavaScript for this? 👀
English
2
18
129
5.1K
D7460N retweetledi
Chrome for Developers
Chrome for Developers@ChromiumDev·
Prepare your site for AI agent interaction with Lighthouse → goo.gle/3ReK3JD If you want AI agents to actually navigate your site properly, the new experimental audit in Lighthouse lets you see: ☀️ Discoverability for AI agents ⚡ WebMCP integration 👀 AI accessibility #GoogleIO
Chrome for Developers tweet media
English
71
288
2.4K
210.9K
D7460N retweetledi
𝓐 ⭑
𝓐 ⭑@ayojoestar·
Autistic people get accused of catastrophizing, but a lot of the time we’re not imagining worst case scenarios out of nowhere. We notice patterns early, connect the dots fast, and end up predicting things people would rather ignore until they become impossible to hide.
English
30
473
3.3K
44.7K
D7460N retweetledi
Chrome for Developers
Chrome for Developers@ChromiumDev·
AI coding agents can write code, but they can't see if it actually works. Chrome DevTools for agents 1.0 fixes this. The stable release brings powerful browser debugging, emulation, and automated audits to your AI assistants via our Chrome DevTools MCP server. 👁️ Give your agent eyes on the runtime → goo.gle/42K7Rrl #GoogleIO
Chrome for Developers tweet media
English
32
88
975
64.1K
D7460N retweetledi
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
The Web Serial API landed in Firefox 151, allowing you to connect directly to microcontrollers, dev boards, 3D printers, power meters, and other serial-connected hardware from the web. Here's how it works:
English
2
8
64
3.5K
D7460N retweetledi
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
What about a straight line that bends when the circles get closer and stretches when they get farther. It's surely not possible using pure CSS, right? Right!? 👀 css-tip.com/bending-line/ Probably my new favorite demo, powered by all the cool new stuff. 🤩
CSS by T. Afif@ChallengesCss

💡 CSS Tip! Connecting two circles with a curved line using only CSS? Yes, it's possible! 🤩 css-tip.com/connected-circ… A demo powered by the future of CSS (border-shape, if(), anchor position, etc). Update your Chrome and play with it! Stay tuned for more complex connections 👀

English
0
8
37
6.7K
D7460N retweetledi
Manu Arora
Manu Arora@mannupaaji·
you can create a sticky navbar that morphs when you scroll with pure CSS, no JS or animation libraries required 𝚑𝚎𝚊𝚍𝚎𝚛 { 𝚌𝚘𝚗𝚝𝚊𝚒𝚗𝚎𝚛-𝚝𝚢𝚙𝚎: 𝚜𝚌𝚛𝚘𝚕𝚕-𝚜𝚝𝚊𝚝𝚎; 𝚙𝚘𝚜𝚒𝚝𝚒𝚘𝚗: 𝚜𝚝𝚒𝚌𝚔𝚢; 𝚝𝚘𝚙: 𝟶; } @𝚌𝚘𝚗𝚝𝚊𝚒𝚗𝚎𝚛 𝚜𝚌𝚛𝚘𝚕𝚕-𝚜𝚝𝚊𝚝𝚎(𝚜𝚝𝚞𝚌𝚔: 𝚝𝚘𝚙) { .𝚗𝚊𝚟-𝚋𝚊𝚛 { 𝚖𝚊𝚡-𝚠𝚒𝚍𝚝𝚑: 𝟻𝟼𝚛𝚎𝚖; 𝚋𝚘𝚛𝚍𝚎𝚛-𝚛𝚊𝚍𝚒𝚞𝚜: 𝟶.𝟽𝟻𝚛𝚎𝚖; 𝚋𝚊𝚌𝚔𝚐𝚛𝚘𝚞𝚗𝚍: 𝚛𝚐𝚋(𝟸𝟻𝟻 𝟸𝟻𝟻 𝟸𝟻𝟻 / 𝟶.𝟿𝟸); } } the browser now knows when a sticky element is stuck, all triggered by one container query available only in chromium browsers only, no firefox or safari which is a shame
English
36
154
2.5K
105.3K
D7460N retweetledi
一丝
一丝@yisibl·
Implementing `polygon(round)` was a challenging yet incredibly rewarding process. We received tremendous support from the Blink CSS, Paint, Opera and Skia teams. It’s finally set to debut in Chrome 150! groups.google.com/a/chromium.org…
一丝@yisibl

I and @imCGQAQ are currently working on implementing the CSS `polygon() round` keyword in Chrome. This is one of my favorite CSS features! Thanks to @LeaVerou for bringing it to CSS. The CodePen link is coming soon.

English
3
17
84
8.8K
D7460N retweetledi
Zsolt Kacso
Zsolt Kacso@kaolti·
Card hover with 3D shape sculpting, Three.js. Built with Cursor, Composer 2.5.
English
87
188
3.6K
279.3K
D7460N retweetledi
Derek Briggs
Derek Briggs@PixelJanitor·
Pretty much all flexbox woes have gone away by adding this to the global css of every new project. *, ::after, ::before, { min-width: 0; min-height: 0; } If you add this to an existing project, check for ui regressions (most likely will be some!).
English
9
5
233
22.9K
D7460N retweetledi
Matt Popovich
Matt Popovich@mpopv·
the top right corner of vscode is starting to resemble an iq test
Matt Popovich tweet media
English
165
1.3K
27.2K
555.5K
D7460N retweetledi
jhey ʕ•ᴥ•ʔ
love that ai empowers people to build their ideas, etc. but please please at least do some due diligence on perf, a11y, etc. before slapping things in an npm package and posting a video for likes
English
13
7
130
8.4K