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

Break or not to break...

If you want a masonry design today, I think CSS columns are the best option for most simple layouts. But the first challenge you’ll run into is that your blocks, if they contain multiple elements, will wrap smoothly. However, if you have an image with text underneath, you don’t want the image to flow into the first column while the text stays in the second column. Look at these two examples:

<figure>
  <img/>
  <figcaption>Image text<figcaption>
</figure>

<div>
  <p>If the div has a hotpink background and I land in column one...</p>
  <p>...and I in column two, the background will break...</p>
</div>

But we have a friend to the rescue!

figure {
  break-inside: avoid;
}

With this one line of code, the image and the figcaption will always stay together. The same applies to the two paragraphs and the pretty hotpink background will remain intact.

Easy!

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