Created
June 2, 2018 07:52
-
-
Save SageStarCodes/c84f768b1923631915bf4f69f95c7c22 to your computer and use it in GitHub Desktop.
"responsive design"
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
@media screen and (max-width: 1800px) { | |
#results { | |
width: 75%; | |
margin-left: calc(25% / 2); | |
} | |
} | |
@media screen and (max-width: 1700px) { | |
#results { | |
width: 80%; | |
margin-left: 10%; | |
} | |
} | |
@media screen and (max-width: 1600px) { | |
#results { | |
width: 85%; | |
margin-left: calc(15% / 2); | |
} | |
} | |
@media screen and (max-width: 1500px) { | |
#results { | |
width: 90%; | |
margin-left: 5%; | |
} | |
} | |
@media screen and (max-width: 1400px) { | |
#results { | |
width: 95%; | |
margin-left: calc(5% / 2); | |
} | |
} | |
@media screen and (max-width: 1340px) { | |
#results { | |
width: 80%; | |
margin-left: 10%; | |
grid-template-columns: 1fr 1fr 1fr 1fr; | |
} | |
} | |
@media screen and (max-width: 1260px) { | |
#results { | |
width: 85%; | |
margin-left: calc(15% / 2); | |
} | |
} | |
@media screen and (max-width: 1190px) { | |
#results { | |
width: 90%; | |
margin-left: 5%; | |
} | |
} | |
@media screen and (max-width: 1120px) { | |
#results { | |
width: 95%; | |
margin-left: calc(5% / 2); | |
} | |
} | |
@media screen and (max-width: 1060px) { | |
#results { | |
width: 75%; | |
margin-left: calc(25% / 2); | |
grid-template-columns: 1fr 1fr 1fr; | |
} | |
} | |
@media screen and (max-width: 1010px) { | |
#results { | |
width: 80%; | |
margin-left: 10%; | |
} | |
} | |
@media screen and (max-width: 940px) { | |
#results { | |
width: 85%; | |
margin-left: calc(15% / 2); | |
} | |
} | |
@media screen and (max-width: 890px) { | |
#results { | |
width: 90%; | |
margin-left: 5%; | |
} | |
} | |
@media screen and (max-width: 840px) { | |
#results { | |
width: 95%; | |
margin-left: calc(5% / 2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment