Created
November 30, 2018 13:31
-
-
Save nanna-dk/d703754f6e542edba89590b4ca284a14 to your computer and use it in GitHub Desktop.
Media query minimum and maximum OR...
This file contains hidden or 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
| /* When the width is between 600px and 900px OR above 1100px - change the appearance of <div> */ | |
| @media screen and (max-width: 900px) and (min-width: 600px), (min-width: 1100px) { | |
| div.example { | |
| font-size: 50px; | |
| padding: 50px; | |
| border: 8px solid black; | |
| background: yellow; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment