🎉 Aspect Ratio just landed in Chrome Canary! 🎉
➡️Check it out by enabling the experimental web platform features flag in version 84.0.4145.0 or later
👋🏽 Say your goodbyes to 56.25% and let me know if you find any bugs! 🐞
May I introduce: @tinyhelpersdev – https://t.co/NUoIhm7DBc.
Because I never find the proper tools when I need them I started collecting useful single-purpose online tools that are useful for web devs & I'll keep adding tools. 😊🙈
I share my favorite ones below in a thread. 🧵
🔥 Because Unsplash is powered by imgix under the hood, you can apply lots of image transformations directly in the URL!
For example, here I've colorized an image by desaturating it, adding a colored overlay, and multiplying the overlay with the image, all using query params:
✨ BRAND NEW pop up experiment ✨
💉 POPUP PUMP 💉
you'll NEVER want to resize a window the "old way" again
https://t.co/gDi5VBXi3w
👽👍 enjoy
( finally working through my list popup ideas... this is #3 )
( oh & it's sort of glitchy sometimes, see previous tweet )
My Harry Potter demo worked live this time!!! 😅
Using hardware data to train a machine learning algorithm to recognise wand movements and trigger movie scenes, all in JavaScript 🧙♀️⚡️
#javascript
🔥 Desktop always a mess? This little script tells macOS to not render desktop icons at all, so ~/Desktop is just another folder and your wallpaper is always unobstructed.
Ooooo I think this is clever. If you need to link to an SVG file rather than use inline <svg>, the temptation is to use it as a background-image. But if it’s single-color, you can use it as a `mask` instead, which makes changing the color way easier.
https://t.co/LzgxqRkQDs
Native <img> lazy-loading is coming to the web! https://t.co/LgF7F1iMgR <img loading=lazy> defers offscreen images until the user scrolls near them. Shipping in Chrome ~75 https://t.co/4gR7lvx4zx
Visual Studio Code can now convert your long chains of Promise.then()'s into async/await! 🎊 Works very well in both JavaScript and TypeScript files. .catch() is also correctly converted to try/catch ✅
Friends, meet "PWA" – the universal PWA builder 🎉🎉🎉
Still very WIP, but ready for other devs. So far, PWA is:
🌎Framework agnostic
🔌Pluggable & Extensible
🚫Zero-config, unless needed
🎊Capable of automatic code-splitting
Repo: https://t.co/ntNGykM2Wi