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

A thing about width

The unraveling question of the day: What’s the difference between auto and 100% when it comes to width? Let’s take a look at this example, a container with two children. At first glance, they look the same, right? But what happens when you add some inline margins to the children?

.container {
  width: 500px;
}

.first-child {
  width: auto;
}

.second-child {
  width: 100%;
}

The first child will still fit within its parent and take up all the available inline space. But the second one… it will overflow its container because its width becomes 100% plus the margins.

You might be thinking, “Why use margin and not padding?” And in some cases, I agree! But there will be times when you want to use margins, and when you do, this is a good one to remember, especially when something just doesn’t fit anymore.

More beats

Things I have written

Newest vibes

How does content fit?

Okay, do you know about fit-content? It’s the sibling of min-content and max-content. It can be a bit tricky to wrap your head around at first, but let’s break it down.

Read vibe

Happy 4 year anniversity to me

Today, I'm celebrating a birthday girl, and not just any birthday girl. My company, Good Vibes Only, is now 4 years old! It somehow feels like I just started, yet so much has happened.

Read vibe
More vibes

Top of mind

Inspiring me right now

A friend of mine showed me a quote that I really liked the other week.
Good vibes, great minds!