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

Having Flex Dilemma?

You know how when you’re working with flexbox in different directions it should be obvious when to use align-items and when to use justify-content? No? For me it’s always felt a bit like plugging in a USB cable, somehow I get it wrong the first time every time.

.parent {
  display: flex;
  flex-direction: row; /*Default value*/
  justify-content: center;
}
.parent {
  display: flex;
  flex-direction: column;
  align-items: center;
}

The thing is, when you use row direction the items flow left to right, so you center them with the help of the flex cell with justify-content. But when you flip to column direction, the flow is top to bottom, and then it’s align-items that takes care of the horizontal centering of the items them selfs.

We’ll dive deeper into alignment soon, but for now just remember the little mantra of justirows and alicolumns (just made them up), it’ll keep you on track until then. Good luck!

More beats

Things I have written

Newest vibes

Happy New Year (in September) ✨

For me, the first of September is my true New Year. Each fall feels like more of a fresh start than January 1st ever could.

Read vibe

Break the box nicely

Imagine you have some text on your page and you want to highlight it. So, you add a nice rounded border and a background color. But what happens when the text wraps to multiple lines?

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!