Peter Simonsson

251 posts

Peter Simonsson

Peter Simonsson

@sidp

I tweet about front-end web development and design. HTML, CSS and JavaScript. Founder of @tulastdio. Also @[email protected]

Malmö, Sweden Beigetreten Kasım 2006
521 Folgt175 Follower
Peter Simonsson
Peter Simonsson@sidp·
@devongovett This is one of the few things I really miss from the sass days. Looking forward to using it!
English
0
0
0
0
Devon Govett
Devon Govett@devongovett·
Really excited about this. I’ve often wanted to manipulate colors programmatically over the years (ala SASS). Happy to see this finally standardized as part of CSS Color Level 5. w3.org/TR/css-color-5/ Lightning CSS already supports color-mix() too, btw! 😄
Devon Govett tweet media
Lightning CSS@lightningcss

New release! ⚡️ Lightning CSS now supports relative color syntax, which allows you to adjust colors with math functions! If you've ever wanted to lighten or darken a color, now you can – and a lot more. Playground: lightningcss.dev/playground/ind… Release notes: github.com/parcel-bundler…

English
4
12
51
0
Peter Simonsson
Peter Simonsson@sidp·
@pawel_handle @threejs @googlechrome I saw this in the wild and was very impressed, both with the quality of the rendering and the amount of coordination it must have taken to accurately show the plan of the shelf based on the user input. Great work!
English
0
0
1
0
Fregante
Fregante@fregante·
@sidp @jensimmons It’s been 10 years 🥲 Hopefully we’ll see it at some point.
English
1
0
0
0
Jen Simmons
Jen Simmons@jensimmons·
While I’ve got your attention about all the amazing new CSS shipping in browsers this year (which includes :has, Container Queries, subgrid & so much more)… let me ask: What do you need added to CSS next year?
English
97
20
199
0
Peter Simonsson
Peter Simonsson@sidp·
@jensimmons Very strong YES on this one! I've been craving it ever since Adobe's proposal and polyfill came out
English
0
0
0
0
Jen Simmons
Jen Simmons@jensimmons·
I recently read the Text 4 spec, and now I can’t stop thinking about `text-wrap: balance`. Apply it to text, like a headline, and the browser wraps that text in such a way that each line has about the same length. (See image to see result.) Do you want browsers to implement it?
Jen Simmons tweet media
English
98
56
917
0
Peter Simonsson
Peter Simonsson@sidp·
@jensimmons Fantastic! Very happy to see container queries becoming a reality. The Safari team seems to be on fire lately.
English
0
0
1
0
Jen Simmons
Jen Simmons@jensimmons·
I love seeing the green boxes appear. Yes, Safari Technology Preview now has Subgrid and Container Queries on by default. webkit.org/blog/12522/rel…
Jen Simmons tweet mediaJen Simmons tweet media
English
12
23
259
0
Peter Simonsson
Peter Simonsson@sidp·
Big sigh of relief for both loading=“lazy” and scroll-behavior. I’m looking forward to throwing out all the workarounds for these in a while.
English
0
0
0
0
Peter Simonsson
Peter Simonsson@sidp·
Since :has() showed up in the technology previews I’ve found a surprising number of situations where it would be handy.
English
1
0
0
0
Peter Simonsson
Peter Simonsson@sidp·
So much good stuff in new Safari. - loading=“lazy” - :has() - new viewport units - :focus-visible - fixes accessibility for display:contents - scroll-behavior webkit.org/blog/12445/new…
English
1
0
0
0
Glass
Glass@tryglass·
🖥 We’re sending out our first alpha invites for Glass for the Web in the next few days! glass.photo/highlights/our… Reply here to get on the list of folks we’ll share it with over the coming weeks.
English
43
3
26
0
Peter Simonsson
Peter Simonsson@sidp·
Is it possible to migrate from #Strapi v3 to v4? I know a migration guide is coming during Q1 but if anyone has any experience I would be interested to hear about it.
English
0
0
1
0
Joseph 💻
Joseph 💻@frontenddude·
@sidp Nice work looks great 😁
English
1
0
0
0
Joseph 💻
Joseph 💻@frontenddude·
#CSS :nth-child properties explained visually: ⬜️⬜️🟦⬜️⬜️ :nth-child(3) 🟦🟦🟦⬜️⬜️ :nth-child(-n+3) 🟦⬜️🟦⬜️🟦 :nth-child(odd) ⬜️🟦⬜️🟦⬜️ :nth-child(even) ⬜️⬜️⬜️⬜️🟦 :last-child ⬜️⬜️🟦⬜️⬜️ :nth-last-child(n-3) ⬜️⬜️🟦🟦🟦 :nth-child(n+3)
English
22
278
1.3K
0
Peter Simonsson
Peter Simonsson@sidp·
@seldo Thanks for putting this down. The topic is so polarizing, and I appreciate the open-minded take. I am genuinely interested in where crypto/web3 is going but find it difficult to see past the hype.
English
0
0
1
0
Laurie Voss
Laurie Voss@seldo·
It got me thinking, and in fact it got me thinking so hard I wrote 3,500 words about crypto: seldo.com/posts/crypto-t… TLDR: I think crypto *will* change the world, for the better. But not in the way its proponents believe.
English
21
77
327
0
Laurie Voss
Laurie Voss@seldo·
This is the single smartest thing anybody who's into crypto has ever said to me about it.
JMD@jmdiegog

@seldo Saying that crypto is for money lovers is true, but just as trains are for transportation lovers and jackets are for clothing lovers, I see nothing wrong, it’s just a piece of human culture and interaction mechanics.

English
2
4
51
0
Peter Simonsson
Peter Simonsson@sidp·
Eventually I hope it makes it in CSS Overflow Module Level 3 #line-clamp" target="_blank" rel="nofollow noopener">drafts.csswg.org/css-overflow-3…
English
0
0
0
0
Peter Simonsson
Peter Simonsson@sidp·
I've been annoyed by how text-overflow: ellipsis requires white-space: nowrap, and thus has no way of working with multi-line text. Turns out I'm just not caught up on what's going on in this area. (Thanks, @TheDidrik!)
English
1
0
0
0
Peter Simonsson
Peter Simonsson@sidp·
@wesbos I've found that TypeScript helps to communicate what's actually going on in JavaScript code, and I would teach it from early on. A JR dev does not need to know all the intricacies of the type system to get most of the benefits.
English
0
0
1
0
Wes Bos
Wes Bos@wesbos·
Here is an interesting question someone sent in for the podcast. When should a JR dev learn typescript? Can you learn it too early? Or can it help you learn JS? What do you think?
English
86
14
175
0
Peter Simonsson retweetet
Lea Verou, PhD
Lea Verou, PhD@LeaVerou·
This is a big day for CSS. After 25 years of devs being told that CSS cannot have parent selectors because they’re too slow, Safari TP 137 not only implements :has(), but enables it by default. And AFAIK @igalia is working on a Chrome implementation! webkit.org/blog/12156/rel…
English
8
226
862
0