【发布时间】:2018-07-05 10:54:04
【问题描述】:
例如,a.html
<link rel="stylesheet" href="a.css">
a.css
.bg {
width: 100%;
background: url(/a.gif) bottom repeat-x;
}
浏览器将首先获得a.html,然后是a.css,然后是a.gif。
有没有办法把a.gif放在html中,这样浏览器就可以同时请求a.css和a.gif?
【问题讨论】: