Here's something that took me longer than I care to admit to figure out how to do. I have a photoblog where I post the photos I take; I like to display them at high resolution, but when they're in a portrait orientation (like this one), you...
I recently came across an application (thanks to our accessibility Slack room) that allows you to test the contrast levels of colors you're using with an eyedropper, rather than enter hex codes.
The problem: I have used the WAVE chrome extension...
Sometimes, when you're debugging an issue in the browser, you might spot an attribute of an element or an entire or subtree in the DOM that is getting left there by some Javascript that's executing when you load the page. Here's how to explore that!
When I write or edit code in Sublime Text, push to GitHub, and want to share that code with a colleague, I often spend a good chunk of time trying to find that file and particular line(s) I want to reference in our repository. Typically, this is...
Recently I was tasked with figuring out why comments had stopped showing up on certain sites when users were using Safari Private Browsing mode. Previously, comments had loaded fine. Thanks to some help from coworkers, we traced the issue back to...
Like the existing -webkit-filter property, -webkit-backdrop-filter allows you to apply effects such as blur, grayscale, hue-rotate, and others, only instead of applying them to the element itself, they’re applied to whatever is behind the element.
If you're like me, you have a hard time remembering all the vanilla javascript DOM selector methods. There's getElementById, getElementsByClassName, and getElementsByTagName as well as the more general querySelector and querySelectorAll. If you...
Welcome to TIL, our new shortform story area! TIL is a place where product team members will share interesting things they've discovered - things that, while awesome, may not merit a blog post. This is a great place to follow along with Vox...