Last active
September 20, 2023 17:04
-
-
Save SeanPlusPlus/791144001cc9144992259bb8fd268d54 to your computer and use it in GitHub Desktop.
Interview Answer CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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