It’s All About The Permissions Recovery
Users who deny permissions can recover them by adjusting settings, although many may not realize this.
Users who deny permissions can recover them by adjusting settings, although many may not realize this.
You’ve got your permissions elements, custom element registries, a potential future for HTML includes, HTML-in-Canvas, and a bunch more.
A brand new 2 KB client-side syntax highlighter from Dave. Includes a web component for very easy usage. Maybe these web components have legs, eh? The most interesting part about it is that it doesn’t touch the DOM. It uses the Highlight API to colorize text and TextMate grammars (the same as in VS Code) […]
Websites often hardcode keyboard shortcuts for Mac (⌘) while neglecting Windows users, leading to confusion.
We don’t NEED JavaScript to adjust tooltip timing displays. Super modern CSS and HTML has this covered simply, and we can do fully successful fallbacks.
I had fun with the post about making a link to a random post in just HTML/CSS the other day. But I was almost certainly over-thinking it on the original. Using random() was kind of the point, so we can stick with that.
You normally don’t think of images as overflowing themselves, nor can you put anything else inside to make it overflow, but actually…
The sizes attribute for <img> was maybe the hardest part. It had complicated syntax that always had to be in sync with whatever your CSS was doing. But sizes=”auto” support is almost ready for prime time. Jason Grigsby says we can go a step further an remove srcset too, which is nearly just as complex, […]
Aaron T. Grogg has a nice page chock full of examples of UI, which used to be the sort of thing that we’d use JavaScript for, but can now be done in HTML & CSS. No hate: I have nothing against JS, but it has better things to do The examples are very modern, like […]
Hand-writing/maintaining a sizes attribute is just not going to happen. This is the way.
Master.dev donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.