scrimba
Frontend Career Path
Web dev basics
Build a Google.com clone
Centering our content
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
Centering our content
Expand for more info
styles.css
run
preview
console

/*
Challenge:
Center the logo and the search field.
*/
.main {
margin-top: 100px;
}

.logo-img {
display: block;
width: 300px;
margin-bottom: 20px;
}

.search-input {
display: block;
width: 400px;
}
Console
/index.html
-1:19