css-tricks.com

Detecting Media Query Support in CSS and JavaScript

You can’t just do @media (prefers-reduced-data: no-preference) alone because, as Kilian Valkhof says: […] that would be false if either…

3 years ago

Native JavaScript Routing?

We can update the URL in JavaScript. We’ve got the APIs pushState and replaceState: // Adds to browser history history.pushState({},…

3 years ago

“Disambiguating Tailwind”

I appreciated this bit of nuance from a post on Viget’s blog: There could be a whole article written about…

3 years ago

Creating a Headless WordPress Site With Frontity

Frontity is a WordPress-focused React-based server-side dynamic-rendering framework (phew!) that allows us to create fast headless websites. Chris has a…

3 years ago

The Big Gotcha With Custom Properties

I’ve seen this confuse more than a handful of people recently, including myself, so I’m making sure it’s written down.…

3 years ago

Using Nuxt and Supabase for a Multi-User Blogging App

Nuxt is a JavaScript framework that extends the existing functionality of Vue.js with features like server-side rendering, static page generation,…

3 years ago

Implementing a single GraphQL across multiple data sources

(This is a sponsored post.) In this article, we will discuss how we can apply schema stitching across multiple Fauna instances. We…

3 years ago

“We had 90% unused CSS because everybody was afraid to touch the old stuff”

Over at the JS Party poundcast: [Kend C. Dodds]: […] ask anybody who’s done regular, old CSS and they’ll tell…

3 years ago

Native Search vs. Jetpack Instant Search in Headless WordPress With Gatsby

Have you already tried using WordPress headlessly with Gatsby? If you haven’t, you might check this article around the new…

3 years ago

DX, to Whom?

Dave points to Sarah’s post on Developer Experience (DX) at Netlify. Part of what Sarah did there is lay out…

3 years ago