DEV Community

Timothy Rice
Timothy Rice

Posted on

I'm learning CSS

Class has a dot, element does not.

header {
display: flex;
flex-wrap: wrap;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
}
main {
display: flex;
flex-wrap: wrap;
width: 100%;
margin: 50px 10% 10%;
}
.card {
border: 2px dotted black

}

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay