scrimba
Frontend Career Path
Responsive design
Build a Responsive Site
Aside: Media queries
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
Aside: Media queries
Expand for more info
index.css
run
preview
console
body {
color: #202945;
background-color: #faf9f6;
}

h1 {
font-family: 'Anton', sans-serif;
font-size: 2.75rem;
text-align: center;
letter-spacing: 1px;
}

.container {
width: 85%;
max-width: 460px;
margin: 0 auto;
}

.joke {
padding: 1.5em 0;
border-bottom: solid 1px;
}

.joke:last-child {
border: none;
}

.question {
font-size: 1.125rem;
font-weight: bold;
line-height: 1.5;
margin: 0;
}

.punchline {
display: none;
margin-bottom: 0;
}

.joke:hover .punchline {
display: block;
}

/* ----- MEDIA QUERIES ----- */




Console
/index.html
-7:30