专注前端素材!
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>素材8网教程(study.sucai8.cn)</title> <style> img.home { width: 46px; height: 44px; background: url(/images/img_navsprites.gif) 0 0; } img.next { width: 43px; height: 44px; background: url(/images/img_navsprites.gif) -91px 0; } </style> </head> <body> <img class="home" src="/images/img_trans.gif"><br><br> <img class="next" src="/images/img_trans.gif"> </body> </html>
运行结果