09a00d2c83
closed #676,#666,#665,#681,#677,#687,#685,#684
52 lines
1.2 KiB
CSS
52 lines
1.2 KiB
CSS
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;
|
|
-webkit-transition: all 1s ease-in-out;
|
|
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;
|
|
-webkit-transition: all 1s ease-in-out;
|
|
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.map */ |