从主页中提取背景图像

时间:2015-05-19 10:46:16

标签: javascript html css image href

我正在尝试从这个网站中提取背景图片。当我右键单击并查看源代码时,我无法在chrome dev工具中找到它。不确定他们隐藏背景图片链接的位置。任何帮助,将不胜感激。

以下是主页:http://aframe.com/

2 个答案:

答案 0 :(得分:2)

devtools中的图片可以在Frames>中的Resources选项卡下找到。图像(可能有一两个文件夹)。请注意,您并非非法下载用于您自己项目的复制图像......

答案 1 :(得分:1)

http://aframe.com/themes/newTheme/images/default.jpg?v=1 继承人我的朋友的链接,它是在与“backstretch”类的div中。

<div class="backstretch" style="left: 0px; top: 0px; overflow: hidden; margin: 0px; padding: 0px; height: 1139px; width: 1903px; z-index: -999999; position: fixed;"><img src="/themes/newTheme/images/default.jpg?v=1" style="position: absolute; margin: 0px; padding: 0px; border: none; width: 1903px; height: 1263.06960784314px; max-height: none; max-width: none; z-index: -999999; left: 0px; top: -62.0348039215687px;"></div>

<img src="/themes/newTheme/images/default.jpg?v=1" style="position: absolute; margin: 0px; padding: 0px; border: none; width: 1903px; height: 1263.06960784314px; max-height: none; max-width: none; z-index: -999999; left: 0px; top: -62.0348039215687px;">

来源:http://aframe.com/

相关问题