实例首页
自学教程
IT工具箱
源代码
下载代码
上下布局
点击运行 >
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>css position absolute bottom 实例 - 自学教程(runoops.com)</title> <style> img.ex1 { position:absolute; bottom:0px; } img.ex2 { position:relative; bottom:-100px; } </style> </head> <body> <img class="ex1" src="//demo.runoops.com/static/img/logocss.gif" width="95" height="84"> <h1>This is a heading</h1> <img class="ex2" src="//demo.runoops.com/static/img/logocss.gif" width="95" height="84"> </body> </html>
运行结果: