The dangers of DRY, the web of WET, the awesomeness of AHA. We don't know what the future of code will be. We could spend weeks optimizing code for performance, or coming up with the best API for our new abstraction, only to find out the next day that we made incorrect assumptions.
According to Google, WebP is 25 – 34% smaller than JPEG at equivalent quality. But how much of it is really true? To find out, Johannes ran a few tests.
Scroll-related animations have been used on the web for years. In recent years, they’ve started to become more common, perhaps in part due to devices being higher-performing and thus able to handle more animation.Â
There are a number of scroll related technologies out there, so this article’s aim is to provide an overview of them and tools to help choose the one that’s right for you.
Checkboxes and radio buttons are two common examples of interactive form elements that we desperately want to have full control over styling but we don’t. So, when we attempt to hide the checkbox we want to style, we need to make sure that the checkbox remains accessible and interactive.
We can use JavaScript to get the value of a CSS custom property. What happens, though, when it’s not just one property we need access to in JavaScript, but a whole bunch of them?
The question of how and where to learn HTML & CSS is a highly reasonable thing to ask. Let’s look at a bunch of options and you can choose the ones that feel right to you.