Replying to @ladybirdbrowser
@ladybirdbrowser is so exciting. after a year of chromium wrappers, Arc-knockoffs of varying quality and many lacklustre launches, here is a foundational new browser engine. excited to see this develop ladybird.org/
Konstantin Dankov retweeted
Chuckling at all the people saying "wait but @ladybirdbrowser just feels like a browser"
Hell yeah it does! 🤓
Konstantin Dankov retweeted
Ladybird is now in alpha 🐞
Downloads for macOS and Linux available on our website.
ladybird.org/posts/alpha/
Konstantin Dankov retweeted
morphing popover menu 🪄
css can let you detect the active anchor position
@container anchored(fallback: --top-left)
popover stays full size; content grows from the grid origin that the fallback sets ↓
yes and no 🤙
in Chrome, yes. jus' need a little CSS to work out which side the popover opens on. if you don't need that, you can do it with html + css alone ✨
xitter.gq/jh3yy/status/201634258…
Konstantin Dankov retweeted
psa: keep your css :has() rules tight 🙇♂️
no wildcards, broad targets
.component:has(.something) button 🚫
agents love slappin' :has() on a landmark but that has the potential to cause huge style recalcs from rules you might think are unrelated 🧑🔬
Today is a good day! Time to check in on the bobs #bobiverse
This will be epic!
1
33
Konstantin Dankov retweeted
update: now you can use css progress() for adaptive radius, shadow, etc. ↓
same trick, but progress() does the division + clamps for you! 🧑🍳
.card__surface {
--r: 42px; --g: 24px;
border-radius: calc(
progress((100vi - 100cqi) / 2, 0px, var(--g)) * var(--r)
);
}
Konstantin Dankov retweeted
they should've called it "artificial knowledge" rather than artificial intelligence
Konstantin Dankov retweeted
Having a Design Engineer (aka UX Engineer) on your team is a game changer. Attention to detail, product quality, velocity, all benefit from this hybrid role.
Yet most tech companies overlook the importance of having people that excel at “front-of-the-front-end” work.
Konstantin Dankov retweeted
Here it is with DevTools open 👀
Can slow down those cross-document View Transitions and see the network requests coming in 🤙
Could totally spend time tweaking different parts of the transition, timing, etc. ✨
Konstantin Dankov retweeted
no js
💡 CSS Tip!
Using scroll-driven animations, you can link a CSS variable with a range slider and easily update its value!
No more JavaScript to do this. A few lines of CSS, one HTML element and you can update any value in real time.
@CodePen demo in the reply 👇
Konstantin Dankov retweeted
🔗 Alternatives to Using Pure Black (#000000) for Text and Backgrounds
uxplanet.org/alternatives-to…
#a11y #design
Almost forgot. Bobiverse book 5 is out and its great!
audible.com/pd/Not-Till-We-A…
39
Really awesome talk to open CSS Day. All presentations are worth watching btw.
Web Design Engineering With the New CSS | Matthias Ott | CSS Day 2024
youtube.com/watch?v=su6WA0kU…
39
Konstantin Dankov retweeted
Replying to @KevinJPowell
Auto margins with flexbox. It usually reduces so much code, but I hardly see people using it. People know it, but don’t seem to be using it when required.
Here’s an article I found - css-tricks.com/the-peculiar-…
Konstantin Dankov retweeted
Replying to @KevinJPowell
Konstantin Dankov retweeted
New course by @lydiahallie: Testing Your JavaScript Knowledge!
Challenge yourself with 50 interactive quiz questions on the event loop, scopes and closures, the "this" keyword, classes and prototypes, garbage collection, and more frontendmasters.com/courses/…



















