@knowler 11
Posts
-
How many browsers do you have open right now? -
there is only one hard problem in computer science: abstracting the entirety of CSS into HTML classes -
web components are good@zachleat I'm glad to hear you've not been overly hardened. Happy Friday Zach!
-
What's the bigger surprise, that by default a custom element isn't `display: block` or that it isn't `display: contents`?What's the bigger surprise, that by default a custom element isn't `display: block` or that it isn't `display: contents`?
-
@mia@ryantownsend Also, I think I saw you demo this...was there a public URL/write up that I could link to in the issue?
-
@mia@mia do you know of any proposed/theorized delivery of @​scope rules via an attribute?
In the way:
```
<div>
<style>
@​scope {
:scope { /* styles for div */ }
}
</style>
</div>
```
Applies locally, but requires duplication, unlike:
```
@​scope (div, .other-thing, .etc) {}
```
But without knowing in advance all the elements it will apply to?
```
/*styles.css*/
:scope { ... }
/*html*/
<div apply-scoped-styles="styles.css"></div>
```
Styles.css applied via @​scope to the <div>. -
The harmful anti-Web Components rhetoric from JavaScript framework authors is out of control. I almost prefer the React team’s tact of largely ignoring Web Components over this current environment of framework authors saying they “hate web components” ...@zachleat Here's a little sparkle for you Sunday, Zach.
🪄