Skip to content

Instantly share code, notes, and snippets.

@julia-r
Last active March 23, 2018 10:45
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 julia-r/96825930ecfb6325b1341022f610ae17 to your computer and use it in GitHub Desktop.
Save julia-r/96825930ecfb6325b1341022f610ae17 to your computer and use it in GitHub Desktop.
Untitled
*{
--footer-height: 30px;
}
#container {
height: calc(100vh - var(--footer-height));
}
footer {
height: var(--footer-height);
}
#container {
background-color: skyblue;
margin: 0;
padding: 0;
}
footer {
background-color: grey;
line-height: 30px
}
h1 {
margin: 0;
}
body {
padding: 0;
margin: 0;
}
<div id="container">
<h1>Hello World!</h1>
</div>
<footer>Imprint</footer>
// alert('Hello world!');
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment