JS Utilities

Started getheight function...seems not to work for now
This commit is contained in:
2017-05-31 16:46:29 +02:00
parent 092abd4c5b
commit 65551b563e
3 changed files with 58 additions and 0 deletions
@@ -0,0 +1,50 @@
body {
padding: 0;
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
body header {
position: absolute;
width: 100%;
height: 150px;
padding: 25px;
box-sizing: border-box;
background-color: #ff00ff;
color: #006505;
font-weight: 700;
transition: all 1s ease-in-out; }
body header.fixed {
position: fixed;
top: 0;
width: 50%;
margin: 0 25%; }
body header ul {
list-style: none; }
body header ul li {
display: inline-block;
padding-left: 25px; }
body section {
width: 100%;
padding: 200px 25%;
box-sizing: border-box;
color: #bfffc0;
background-color: #00a0d2; }
body footer {
position: fixed;
bottom: 0;
width: 50%;
height: 100px;
margin: 0 25%;
background-color: white;
transition: all 1s ease-in-out; }
body footer.relative {
position: relative;
height: 700px;
width: 100%;
margin: 0; }
body footer ul {
list-style: none; }
body footer ul li {
display: inline-block;
padding-left: 25px; }
/*# sourceMappingURL=element-position.css.tmp.map */