https://codepen.io/hopefulcodegirl/pen/GRZBbGK

Why isn’t my border box working?

I don’t understand. What do you want your border box to do?

1 Like

I need there to be a thin white line on the top and bottom of each box.

Never mind! I’m such an idiot! I had already fixed my problem but I couldn’t see that because I had a scaleX(0). Sorry about that!

1 Like

Happy to hear that you got it! And no worries.

1 Like

Now I have a bit of a different problem. Why isn’t my image fitting inside the box?

Just a typo, remove the extra dot after the .box class

.container .box. .imgBox {
  position: relative;
}

.container .box. .imgBox img {
  width: 100%;
}
1 Like

haha, whoops. Thank you!