Skip to content

Instantly share code, notes, and snippets.

@phpfiddle
Created May 7, 2017 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpfiddle/55d2885e7c0efd84555d4ccc29bf8bc4 to your computer and use it in GitHub Desktop.
Save phpfiddle/55d2885e7c0efd84555d4ccc29bf8bc4 to your computer and use it in GitHub Desktop.
[ Posted by Johnny Cheng ] this is css
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