Fix: Position fixed highlight

This commit is contained in:
surunzi
2016-05-20 20:46:48 +08:00
parent 42b4a9cf59
commit 1c51b6b691
4 changed files with 8 additions and 4 deletions

View File

@@ -20,6 +20,7 @@
This is a very long text!
This is a very long text!
</div>
<div class="fixed-footer">This is a footer!</div>
<div>
<img src="http://7xn2zy.com1.z0.glb.clouddn.com/blog_elf.jpg">
</div>

View File

@@ -8,4 +8,9 @@ html {
}
.border {
border: 15px solid #fff;
}
.fixed-footer {
position: fixed;
left: 0;
bottom: 0;
}