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…

Chapter 9: Community

In April of 2009, Yahoo! shut down GeoCities. Practically overnight, the once beloved service had its signup page replaced with a vague message announcing its closure. We have decided to discontinue the process of allowing new customers to sign up for GeoCities accounts as we focus on helping our customers Read more…

“Weak declaration”

PPK looks at aspect-ratio, a CSS property for layout that, for the most part, does exactly what you would think it does. It’s getting more interesting as it’s behind a flag in Firefox and Safari now, so we’ll have universal support pretty darn soon. I liked how he called it Read more…