菜单切换
FACESOHO知行者
心灵
记录
远方
赞赏工具
源代码:
点击运行
保存
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>小鸟启蒙(facesoho.com)</title> <style> .container { position: relative; } .bottomright { position: absolute; bottom: 8px; right: 16px; font-size: 18px; } img { width: 100%; height: auto; opacity: 0.3; } </style> </head> <body> <h2>图片文本</h2> <p>在图片右下角添加文本信息:</p> <div class="container"> <img src="//www.facesoho.com/wp-content/uploads/2016/04/trolltunga.jpg" alt="Norway" width="1000" height="300"> <div class="bottomright">右下角</div> </div> </body> </html>
运行结果