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

Words loves wrapping

We all know that text spread across a large screen can be hard to read. We want to limit the space that the text occupies. There are several ways to handle this, but I’ll show you one that I like a lot.

p {
  width: min(100%, 60ch);
}

So, what does this actually do? It sets the width of the paragraph to take up 100% of the parent width until the width reaches 60 characters, at which point it stops growing. It will always pick the smaller value between 100% and 60ch. One advantage of this over using percentages, pixels (px), or viewport units (vw/vh) to represent width is that when you’re using relative units like em or rem for the font size, the width automatically adjusts as the font grows.

Smart right!?

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