#Development #Techniques
CSS contrast-color() beyond black & white · How to unlock more colorful theming options https://ilo.im/16bdci
_____
#ModernCSS #Theming #ColorPalettes #Colors #Contrast #Accessibility #Browsers #WebDev #Frontend #CSS
Front-end engineer at NRK.
Been centering elements since 1996.
Pronouns: He/Him. 🏳️🌈🏳️⚧️
| Stuff | https://odland.dev |
| Work | https://www.nrk.no/forfatter/johannes-odland-18.21019 |
#Development #Techniques
CSS contrast-color() beyond black & white · How to unlock more colorful theming options https://ilo.im/16bdci
_____
#ModernCSS #Theming #ColorPalettes #Colors #Contrast #Accessibility #Browsers #WebDev #Frontend #CSS
Have you ever needed to create a color scheme based on the users current time, or to sync an animation with the current time?
I’ve been mulling about a proposal to add support for this in CSS for a while, but never gotten to the point where it was polished enough for adding.
I finally decided to just add a proposal to get the discussion going.
Just ordered a replacement part for our shower enclosure, after 3d modeling and prototyping a new part myself. The alternative would quite possibly have been remodeling the bathroom.
Feels like a superpower. 🚀
I'm not going to disclose how long I've spent on the whole thing 🙈🤣
I know that bad news is coming when a co-worker messages me with "You're gonna be so mad..."
Grammarly has rolled out an AI-powered "expert review" feature where its simulacrum of me makes suggestions for your text. My real edits are usually along the lines of "Throw this into the sea."
I was just reading a WHATWG issue when I stumbled upon this quote by @leaverou
> Kooky idea: Perhaps a native html template tag could work to mark a string as HTML, and as a bonus, it already makes the contents highlight as HTML in today's editors.
Yes please :)
Maybe a safe version that escapes unsafe attributes and text content as well.
Some women's day reading for techies:
(archived version of this NYT article: https://www.nytimes.com/2019/02/13/magazine/women-coding-computer-programming.html)
New blog post: External import maps, today!
@johannes @scottjehl looks like its in Chrome Canary
https://issues.chromium.org/issues/469111735 with the experimental platform features flag enabled.
Don't you wish you could use `loading=lazy` on the `<video>` element?
@scottjehl is at it again, and if we're lucky this will be possible some time in the future.
https://github.com/WebKit/standards-positions/issues/586#issuecomment-3960128741

WebKittens @annevk Title of the proposal HTML Video Element Loading Attribute URL to the spec https://whatpr.org/html/11980/media.html#the-video-element URL to the spec's repository whatwg/html#119...