Hi there!

Good Vibes Only is owned by me, Jessica, and I work as a freelance front-end developer. I write about things I’ve experimented with and thoughts I like to share, focusing on creativity and CSS.

I have a love for CSS because it’s what makes the web look interesting and fun!

Image of logo circles

Quick and trix

Latest beat

Minimize containers

If, like me, you’re eager to use the latest CSS features, like container queries, you’re probably excited to dive in! But we also know it’s not in the Baseline yet… Thankfully, there are things we can do, such as using @supports to check for feature availability.

For container queries, there’s an additional strategy. By using min-width container queries rather than max-width ones, we increase the likelihood that our fallback experience remains usable! It’s a classic responsive design approach to think mobile-first, and in this case, it really helps.

.main {
  /* Mobile styles here, everyone will see this*/
}
@container (min-width: 600px) {
  .main {
    /* Tablet styles here */
  }
}
@container (min-width: 800px) {
  .main {
    /* Desktop styles here */
  }
}

Currently, global support for container queries is at 93.7%. For the remaining users without support, this approach ensures they still get the mobile layout, even on larger screens. While it’s not perfect, it’s fully functional and ensures a better overall user experience. A neat trick!

More beats

Things I have written

Newest vibes

The ever growing comfort zone

You know that magical place where everything feels safe, and you have things under control. It’s a place where you know exactly what to do, what's expected of you, and how to do it. It’s that island of comfort we call the "comfort zone."

Read vibe

Fatigued or just tired?

The week before my summer holiday, I had a sunny lunch with my colleagues. One of them brought up an interesting point, there’s not just one way to be tired — there are many! We all laughed and told him he should write a book on the topic, but the thought stuck with me.

Read vibe
More vibes

Top of mind

Inspiring me right now

Graphic design of unknown content with unknown collaborators, on an infinite and unknownable canvas, across operating systems, interfaces, languages and writing modes.Miriam Suzanne