
No longer here 🙁 @doctype_jon@mastodon.social
Cupertino, California
Joined February 2013
- Tweets1.7K
- Following255
- Followers102
- Likes31.5K
Jonathan Dallas retweeted
So, you want to style all siblings sitting between a `.upper` and `.lower` element in CSS?
That’s possible … thanks to the almighty `:has()` selector!
```css
.upper ~ :has(~ .lower) {
outline: 1px solid red;
}
```
Details on my blog: brm.us/css-sibling-scope
Jonathan Dallas retweeted
merely thinking about how all video games are secretly rhythm games
and how as a game designer, or even an interface designer, you’re always thinking about how it feels to play the game, and the rhythm at which you’re pressing the buttons
Jonathan Dallas retweeted
The #CSSWG just resolved to allow `var()` references in #CSS container queries:
@container (inline-size > var(--small)) {
.card { padding: 2em; }
}
This looks so powerful! What a start of the year! 🥳🎉
front-end.social/@mia/109633…
Jonathan Dallas retweeted
"Don’t ever complain about “throwing away” prototype work. The prototypes are the work, which means they are part of the final product even if you threw them away materially." - @jimniels
blog.jim-nielsen.com/2022/pr…
Jonathan Dallas retweeted
My current collection of useful "no sign-in" web apps:
photopea.com/
boxy-svg.com/app
tldraw.com/
globs.design/
alma.sh/
audiomass.co/
hexed.it/
webvm.io/
Jonathan Dallas retweeted
until I find out how to peel 4kg of chestnuts easily, here is how to draw bubbles with code #howto #processing #p5js #creativecoding – at Belgrade, Republic of Serbia
Jonathan Dallas retweeted
Whoot! I just learned you can use animatable CSS grid rows to transition an element's height from 0 to auto!
Toggle a class and see the magic happen.
Thx to @chriscoyier for sharing this little gem. 💯
chriscoyier.net/2022/12/21/t…
Video alt: Exampe showing an animated height.
Jonathan Dallas retweeted
Built this tree out of form elements 11 years ago (!) and amazingly it still works. Happy holidays! 🎄
lab.hakim.se/domtree/
Jonathan Dallas retweeted
1. Infinite scroll
2. Footer
Pick one, you can’t have both.
(You’d think this is common sense by now, but you’d be wrong)
Jonathan Dallas retweeted
As a company from eastern Germany, we know that building a wall to try and keep people from leaving isn't a good idea.
You’re unable to view this Post because this account owner limits who can view their Posts. Learn more
Jonathan Dallas retweeted
Pixel Composer 1.0 is here! The first "full" version of a node-based, nondestructive VFX editor for pixel art is now available on itch.io! #pixelart #gamedev #gamemaker
makham.itch.io/pixel-compose…
Jonathan Dallas retweeted
I see lots of screenshots of Tweets and other text come across my timeline and being able to just select text in images in Safari just feels so magical. It arguably makes Twitter on the web bette than its native apps. Surprised that other browsers still haven't copied this.
Jonathan Dallas retweeted
Building a browser from scratch is a tough challenge to take on given the scope of the Web Platform these days. This is impressive work.
Jonathan Dallas retweeted
ChatGPT understands what it is, and its place in the (virtual) world. I find this fascinating :
engraved.blog/building-a-vir…
Jonathan Dallas retweeted
50% lightness in HSL is almost never 50% as humans see it; it's 50% lightness in that color space.
50% lightness in LCH is built around human lightness perception 👍🏻
Try in Canary (with web experiments on or Safari TP) codepen.io/argyleink/pen/zYa…
Jonathan Dallas retweeted
Today's lunch video is "What Happened To Text Inputs?" — "The story of how inputs became onputs then became something even less logical and more bad." youtube.com/watch?v=he8wuV88…


























