scrimba
Frontend Career Path
Web dev basics
Build a digital Business Card
Center the card
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Center the card
Expand for more info
styles.css
run
preview
console
body {
margin: 20px;
}

.avatar {
width: 150px;
}

.card {
/*
Challenge:
Give the card a width of 400px wide and center it.
*/
padding: 20px;
display: flex;
justify-content: space-around
}

.border-blue {
border: 1px dotted blue;
}

Console
/index.html
-1:56