You can use nesting selectors natively in CSS now
#css
Nesting? Natively? Yes, please. The new & nesting selector is here and it's pretty awesome.
Written on May 3, 2024
Read post#css
Nesting? Natively? Yes, please. The new & nesting selector is here and it's pretty awesome.
Written on May 3, 2024
Read post#accessibility #anime #hidive
I recently checked out HiDive's newly redesigned website. It's pretty... until you look under the hood.
Written on Apr 26, 2024
Read post#nuxt #vue
Accessing the DOM inside of a composable is easy as long as you know you have access to lifecycle hooks.
Written on Mar 7, 2024
Read post#css
The aspect-ratio CSS property is so easy and awesome, how could you not love it? Let's look at the old way, and the new way of achieving an element at a specific aspect ratio.
Written on Jan 28, 2024
Read post#css #tailwind
Modular CSS? What?! Well, it's here, and it's pretty cool. Let's talk about the ups and downs of using it.
Written on Jan 21, 2024
Read post#javascript #nuxt #vue
While learning Nuxt3 I ran into, and resolved, an issue. Here's how to make sure the prerendering engine waits for your async content.
Written on Oct 4, 2023
Read post#api #youtube
I needed to know if a YouTube video was region locked... so I went down the rabbit hole and learned how to use the YouTube Data API.
Written on Dec 16, 2022
Read post#css
Multi-line truncating has always been rough. But, what if I told you, you could do it with pure CSS? Yes! It's possible!
Written on Jul 8, 2022
Read post#anime #crunchyroll #german
I just wanted to watch a German dub on Crunchyroll... little did I know the amount of frustration I was about to experience.
Written on Sep 1, 2021
Read post#iframe #lazy-loading
Iframes can be an expensive resource, especially for videos. Lazy loading iframes isn't as easy as it should be, but maybe the srcdoc attirbute can help.
Written on Aug 27, 2019
Read post#api #javascript
Finding out if an element is within the viewport has always been a pain in the butt. Luckily, there's a handy new API called Intersection Observer.
Written on May 29, 2019
Read post#javascript #network
Detecting a slow network should be simple, right? Or...at least it sounds simple. Reality is cruel though, because it's really a pain in the ass.
Written on Mar 13, 2019
Read post