Skip to content

Instantly share code, notes, and snippets.

@SeanPlusPlus
Last active September 20, 2023 17:04
Show Gist options
  • Save SeanPlusPlus/791144001cc9144992259bb8fd268d54 to your computer and use it in GitHub Desktop.
Save SeanPlusPlus/791144001cc9144992259bb8fd268d54 to your computer and use it in GitHub Desktop.
Interview Answer CSS
body {
margin: 0;
}
main {
font-family: 'Helvetica', 'Arial', sans-serif;
color: #111;
padding: 12px;
}
.movie {
border: 1px solid #111;
margin-bottom: 7px;
padding: 12px;
border-radius: 5px;
}
.title {
font-weight: bold;
font-size: 20px;
}
@media only screen and (min-width: 600px) {
main {
background-color: #d4ebf2;
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 12px;
row-gap: 12px;
}
.movie {
background-color: #f2dbd4;
margin: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment