This is nothing new, but something I only recently started doing. Ya know those console.logs you're using in your JavaScript code? Did you know you can style them in the dev toolbar? YA! In both your browser console and nodejs! Styling the browser console It's really that simple! Throw a %c in your console.log message,... Continue Reading →
Introduction to the new CSS aspect-ratio property
There's a new CSS property available that I'm pretty excited about. Traditionally, if you wanted to size an image to be widescreen, you'd have to do some math on your own. Then making it responsive gets tricky as well. Widescreen is 16:9, so if it's 1200px wide, how tall should it be? On mobile, when... Continue Reading →