实例首页
自学教程
IT工具箱
源代码
下载代码
上下布局
点击运行 >
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>css 图像拼合 实例 - 自学教程(runoops.com)</title> <style> img.home { width: 46px; height: 44px; background: url(//runoops.com/try/static/img/img_navsprites.gif) 0 0; } img.next { width: 43px; height: 44px; background: url(//runoops.com/try/static/img/img_navsprites.gif) -91px 0; } </style> </head> <body> <img class="home" src="//runoops.com/try/static/img/img_trans.gif"><br><br> <img class="next" src="//runoops.com/try/static/img//img_trans.gif"> </body> </html>
运行结果: