Chromium spelling and grammar features

Delan Azabani digs into the (hopefully) coming soon ::spelling-error and ::grammar-error pseudo selectors in CSS. Design control is always nice. Hey, if we can style scrollbars and style selected text, why not this? The squiggly lines that indicate possible spelling or grammar errors have been a staple of word processing on computers for decades. Read more…

System *Things

I think we’re all largely aware of colors like this: color: OldLace; background: rebeccapurple; I guess you’d just call those “named colors” in CSS. Those aren’t the only kind of named colors there are though. Some of them are a bit more fluid. Jim Nielsen was blowin’ minds the other Read more…

Custom Property Brain Twisters

I am part of that 82% that got it wrong in Lea’s quiz (tweet version). Here’s the code: :root { –accent-color: skyblue; } div { –accent-color: revert; background: var(–accent-color, orange); } So what background do I expect <div> to have? My brain goes like this: Well, –accent-color is declared, so Read more…