You can scope styles inside of the parent with a
See the CSS Cascading and Inheritance L6 draft
It’s not just a fantasy, it already works in Chrome Canary. Thanks to Roma Komarov for the tip!
But at the same time, the
4.2.6 The style element
Categories: Metadata content
See issues:
— Style tag should be allowed in body
— Reconsider making <style> in body valid
I think WHATWG and CSSWG need to talk 😅
<style> and a @scope rule 😳<div>
<style>
@scope {
p { color: red }
}
</style>
<p>this is red</p>
</div>
<p>not red</p>
See the CSS Cascading and Inheritance L6 draft
It’s not just a fantasy, it already works in Chrome Canary. Thanks to Roma Komarov for the tip!
But at the same time, the
<style> is not allowed inside of the <body> by the HTML spec:4.2.6 The style element
Categories: Metadata content
See issues:
— Style tag should be allowed in body
— Reconsider making <style> in body valid
I think WHATWG and CSSWG need to talk 😅
👍25
Made a custom Tony’s milk chocolate bar: picked colors for the cover and filled it with raspberries, caramel, and sea salt 😍 Thank you Julia Miocene for bringing me there!
🔥24❤5
One day I’ll stop confusing Wednesday with Thursday 🥴 I guess, I hear Third in Thursday and this mixes up everything. Just call it Fourthday already! 🙄 Until then, I'll keep getting into trouble. My appointment is tomorrow, dammit!
❤14
Got a nice-looking 40% finger-twister, also known as the Planck ortholinear keyboard. Not expecting a productivity boost anytime soon 😅
🔥24❤3👎1
You might be thinking, how do people use 40% keyboards? With layers! I made a custom layout for my needs with a cheat sheet to peek into. It should give you an idea 🤓
Top left: Function layer
Bottom left: Lower layer
Top right: Rise layer
It’s not easy, but kinda fun!
And yes, I know how nerdy it looks 😬
Top left: Function layer
Bottom left: Lower layer
Top right: Rise layer
It’s not easy, but kinda fun!
And yes, I know how nerdy it looks 😬
🔥12👍6
Just a quote from some spec repository I’d like to co-sign:
> Prettier tends to make some ugly formatting for HTML, so it's still excluded
> Prettier tends to make some ugly formatting for HTML, so it's still excluded
👍2🔥1
Went to the Indiana Jones movie yesterday, the original version with German subtitles. The movie was all right: too many CGI faces to my taste, but Phoebe Waller-Bridge saved it. But the thing I remembered the most is the word “Fallschirm”.
So, imagine the scene: a plane full of Nazis is falling down the sky (you know, typical Indy Jones). And I see the “Fallschirm” word in the subtitles. I have no idea what it means, but suddenly time slows down, and the word “Regenschirm” pops up in my mind.
Regen… schirm… an umbrella. Fallschirm? A parachute? Yes! 🤯
So, imagine the scene: a plane full of Nazis is falling down the sky (you know, typical Indy Jones). And I see the “Fallschirm” word in the subtitles. I have no idea what it means, but suddenly time slows down, and the word “Regenschirm” pops up in my mind.
Regen… schirm… an umbrella. Fallschirm? A parachute? Yes! 🤯
👍16🔥5
There are only 5 days left to fill out the State of CSS 2023 survey. I can’t stress this enough: you only get to moan about the Web platform going in the wrong direction and browsers not implementing what you need if you submit it. Don’t blow your chance!
👍14
Let’s code again: a new social network Bluesky this time. Adaptive profile layout and light/dark theme. Come and join me on August 20 at 12:00, Berlin time. Still, only for my Russian-speaking readers, but I hope to launch another channel in English later this year. Stay tuned!
https://youtu.be/iOOboqsNUWM
https://youtu.be/iOOboqsNUWM
👍29
This media is not supported in your browser
VIEW IN TELEGRAM
Who needs
:hover when you have JS, right?👎25🔥9❤3😁1
It’s been a very productive three days! Starting from Friday evening, I recorded three episodes for different podcasts and streamed a 3.5-long coding session on YouTube. Amazing! But now I’m ready for a weekend… oh wait 😳
❤20🔥12
It was very thoughtful of Robert Smith to write a dark song for my 39th birthday!
https://youtu.be/tYFQ8TJPuMA
https://youtu.be/tYFQ8TJPuMA
YouTube
39
Provided to YouTube by Universal Music Group
39 · The Cure
Bloodflowers
℗ 2000 Fiction Records Ltd.
Released on: 2000-02-15
Author, Keyboards, Vocalist, Associated Performer, Fender Bass, Producer, Mixer, Studio Personnel, Composer Lyricist, Composer:…
39 · The Cure
Bloodflowers
℗ 2000 Fiction Records Ltd.
Released on: 2000-02-15
Author, Keyboards, Vocalist, Associated Performer, Fender Bass, Producer, Mixer, Studio Personnel, Composer Lyricist, Composer:…
👍12❤9