scrimba
Responsive Design
Taking it to the next level
Setting up the footer
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
Setting up the footer
Expand for more info
css
style.css
run
preview
console
* {box-sizing: border-box;}

body {
margin: 0;
font-family: 'Montserrat', sans-serif;
font-size: 1rem;
color: #404040;
line-height: 1.6;
}


/* ==================
Typography
===================== */

h1, h2, strong {
font-weight: 700;
}

.accent-color {
color: #FFE600;
}


.hero-title {
font-size: 1.5rem;
line-height: 1.4;
margin-bottom: 0;
}

.section-title {
font-size: 1.125rem;
color: #000;
margin-top: 1.25em;
}

/* buttons */

.btn {
padding: .5em 1.75em;
font-weight: 700;
margin-top: .5em;
text-decoration: none;
}

.btn-primary {
background: #FFE600;
color: #000;
justify-self: start;
}


/* ==================
general layout
===================== */

.main-grid {
display: grid;
grid-template-columns: minmax(1em, 1fr) minmax(0px, 500px) minmax(1em, 1fr);
}


/* footer */




/* ==================
hero area
===================== */

.hero {
background-image: url(img/hero-bg.jpg);
padding: 4em 0;
color: #fff;
}

.hero > * {
grid-column: 2 / -2;
}


/* ==================
info section
===================== */

.info {
padding: 4em 0;
text-align: center;
}

.col {
grid-column: 2 / -2;
}
Console
index.html
-3:05