Created
May 7, 2017 01:21
-
-
Save phpfiddle/55d2885e7c0efd84555d4ccc29bf8bc4 to your computer and use it in GitHub Desktop.
[ Posted by Johnny Cheng ] this is 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 { | |
font-family: 'Inconsolata'; | |
font-size:1.5em; | |
} | |
form{ | |
min-width: 320px; | |
} | |
fieldset{ | |
height:100%; | |
width:50%; | |
margin: 0px; | |
} | |
legend{ | |
color:red; | |
} | |
@media screen and (max-width: 479px){ | |
body { | |
font-size:0.5em; | |
} | |
} | |
@media print{ | |
body{ | |
font-size:1em; | |
font-family: "Times New Roman"; | |
filter: grayscale(100%); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment