Ever wished you had shorthands like padding-x or margin-y?
Meet padding-block, padding-inline, margin-block, margin-inline etc!
E.g. https://t.co/upv4y5vLVe
And as a bonus, they adapt to the writing mode!
Support is not amazing, but not terrible either: https://t.co/cggNhnC2B1
If we want to see a more peaceful world, we have to learn to collaborate. Young people shouldn’t follow previous patterns of behaviour. New conditions, like our interdependent, globalised world, require new ideas. Dividing people into ‘us’ and ‘them’ is out of date.
Oh, another cool custom element we can use!
With `<markdown-toolbar>` we can enhance our markdown textarea to help users format text easier!
1⃣ `import '@ github/markdown-toolbar-element'`
2⃣ add the `<markdown-toolbar>` with the buttons you want
I managed to get simple 3D physics working in the prototype for my WebXR game for #js13k. Best part is, I'm not using any extra libs! It's all vanilla JS, clocking in at 9 KB right now. The hand mesh alone is 3 KB so I'm sure there's plenty room for optimization, too.
The new era of Web Development is coming!
If you would like to learn or improve your frontend skill, take a look at @modern_web_dev
🔝 Built on web standards
🪶 Lightweight
🚀 Low complexity
> The Crew Displays onboard Dragon runs Chromium with HTML, Javascript & CSS. We don't use LESS
> ...
> We use Web Components extensively
who would've thought stuff that need to just work is not hidden behind transpilers and non standard indirections 😏
https://t.co/jFVnYCHxB0
#webcomponents in space!
SpaceX have confirmed the use of Web Components in the Chromium base UI onboard Crew Dragon!
They've come a long way since we first started using them on the UI almost 5 years ago now. Checkout the SpaceX reddit AMA:
https://t.co/0wEpxP5EXy
So #JS made it into space! #SpaceX uses #Chromium + #JavaScript for the Dragon 2 flight interface along with C++ for flight computers. JavaScript is not a toy folk, time to accept it. #NASA@BrendanEich https://t.co/yq2C5fnjOG
The specification for native image lazy-loading has been merged into the HTML standard! https://t.co/Dl2gtLqSrn 🎉
Huge thanks to @domfarolino@annevk@zcorpan and many others! About: https://t.co/r6YthBCuEO
New declarative Shadow DOM proposal https://t.co/C72CuuZ8Li. Adds "shadowroot" attribute to the <template> element. Related discussion at https://t.co/UbG0hkjkOp.
Wow! ‘Learning to Skateboard in a Warzone (If You're A Girl)', documenting the amazing work of @Skateistan, bags the #Oscar for Best Documentary Short Subject!
Check out the trailer. Donations here: https://t.co/WJjiOHYN8I