Created
May 7, 2017 01:16
-
-
Save phpfiddle/0510707780780ff1f609728dc6703976 to your computer and use it in GitHub Desktop.
[ Posted by Inkyu ] comp484_assignment7
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 { | |
font-family: 'ubuntu'; | |
} | |
fieldset { | |
margin-left: 10%; | |
margin-right: 10%; | |
width: 80%; | |
font-size: 0.8em; | |
} | |
@media screen and (max-width: 699px) and (min-width: 520px) { | |
fieldset { | |
margin-left: 20%; | |
margin-right: 20%; | |
width: 60%; | |
font-size: 1em; | |
} | |
} | |
@media screen and (max-width: 1000px) and (min-width: 700px) { | |
fieldset { | |
margin-left: 30%; | |
margin-right: 30%; | |
width: 40%; | |
font-size: 1.2em; | |
} | |
} | |
@media screen and (min-width: 1001px) { | |
fieldset { | |
margin-left: 35%; | |
margin-right: 35%; | |
width: 30%; | |
font-size: 1.4em; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment