Just run: node index.ts
It is uses the code location-preserving transform demonstrated by ts-blank-space. This means sourcemaps are optional.
bloomberg.github.io/ts-blank-spa...
Just run: node index.ts
It is uses the code location-preserving transform demonstrated by ts-blank-space. This means sourcemaps are optional.
bloomberg.github.io/ts-blank-spa...
The default browser install button is great, but we'd like something which you can use on your own site, how and when you want it.
That's why we're proposing the Web Install API, which you can now test!
The default browser install button is great, but we'd like something which you can use on your own site, how and when you want it.
That's why we're proposing the Web Install API, which you can now test!
```
box-shadow: 0 1px 2px
rgb(from currentcolor r g b/ .65)
```
Cross-browser since September 2024.
#tinyCSStip #CSS
Want the shadow of an element or some other visual to be a semitransparent version of the `currentColor`?
Use `color-mix()`!
Cross-browser, btw. 😼
```
box-shadow: 0 1px 2px
rgb(from currentcolor r g b/ .65)
```
Cross-browser since September 2024.
#tinyCSStip #CSS
Want the shadow of an element or some other visual to be a semitransparent version of the `currentColor`?
Use `color-mix()`!
Cross-browser, btw. 😼
Want the shadow of an element or some other visual to be a semitransparent version of the `currentColor`?
Use `color-mix()`!
Cross-browser, btw. 😼
Well, I'm told it's coming to Chrome/Edge 144. So, like, very very soon (as in, January).
It's already in Firefox. And being implemented in Safari too.
Well, I'm told it's coming to Chrome/Edge 144. So, like, very very soon (as in, January).
It's already in Firefox. And being implemented in Safari too.
Congrats to Eemeli Aro @mozilla.org on advancing Import Text to Stage 2 at TC39 today 🎉
It uses an import attribute for easy loading.
import text from "path/to/file.txt" with { type: "text" };
github.com/eemeli/propo...
Congrats to Eemeli Aro @mozilla.org on advancing Import Text to Stage 2 at TC39 today 🎉
It uses an import attribute for easy loading.
import text from "path/to/file.txt" with { type: "text" };
github.com/eemeli/propo...
Range syntax for style queries and if() functions has shipped in Chrome!
Check it out:
una.im/range-style-...
Range syntax for style queries and if() functions has shipped in Chrome!
Check it out:
una.im/range-style-...
github.com/nodejs/node/...
github.com/nodejs/node/...
Soon available in all browsers
Soon available in all browsers
A quick look at field-sizing and where it can be used. I hope this will land in Firefox and Safari soon. The good thing? We can use it as an enhancement.
🔗 ishadeed.com/article/fiel...
A quick look at field-sizing and where it can be used. I hope this will land in Firefox and Safari soon. The good thing? We can use it as an enhancement.
🔗 ishadeed.com/article/fiel...
webkit.org/blog/17541/w...
webkit.org/blog/17541/w...
You can you can finally style anchored elements based on their fallback position in CSS!
Meet the CSS anchored container query 🤝
container-type: anchored
@container anchored(fallback:
(landing in Chrome 143)
developer.chrome.com/blog/anchore...
You can you can finally style anchored elements based on their fallback position in CSS!
Meet the CSS anchored container query 🤝
container-type: anchored
@container anchored(fallback:
(landing in Chrome 143)
developer.chrome.com/blog/anchore...
- docs svelte.dev/docs/svelte/...
- demo svelte.dev/playground/a...
- docs svelte.dev/docs/svelte/...
- demo svelte.dev/playground/a...
Now part of Baseline, this API provides a built-in way to create URL pattern matchers that can be used against URLs or individual URL components.
Now part of Baseline, this API provides a built-in way to create URL pattern matchers that can be used against URLs or individual URL components.
Use Intl.Segmenter API. Available in every JS runtime
Use Intl.Segmenter API. Available in every JS runtime
Now part of Baseline, this static method creates a new Document instance from an HTML string and allows for optional sanitization.
Now part of Baseline, this static method creates a new Document instance from an HTML string and allows for optional sanitization.
developer.mozilla.org/en-US/docs/W...
developer.mozilla.org/en-US/docs/W...
Zed on Windows is here at last! 🪟
zed.dev/blog/zed-for...
Zed on Windows is here at last! 🪟
zed.dev/blog/zed-for...
36 positions, 2 axes, 4 alignment values per axis. I let you do the count! 🫣
36 positions, 2 axes, 4 alignment values per axis. I let you do the count! 🫣
--tint: green;
Modern CSS is amazing! 😲
--tint: green;
Modern CSS is amazing! 😲