我已經(jīng)使用完畢php artisan storage:link,但不知道為什么它無法加載。當(dāng)我檢查它并將其懸停時,它顯示“無法加載圖像”,如下所示。更讓我困惑的是,當(dāng)我點擊該鏈接時,該鏈接實際上起作用了。這是代碼:<div class="advertise p-2"> <div class="ae-box" style="background: linear-gradient( rgba(34,34,34,0.78), rgba(34,34,34,0.78)), url('http://localhost/storage/ad1.gif') no-repeat;background-position-x: 0%, 0%;background-position-y: 0%, 0%;background-size: auto, auto;background-size: cover;background-position: center center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;"> <div class="ae-box-body text-center"> <div class=""><i class="fa fa-certificate fa-3x"></i></div> <h4 class="m-0">Clifford Graham</h4> <p class="m-0">2 hours ago</p> </div> </div></div>有人知道該怎么做嗎?
css背景中“無法加載圖像”?Laravel
慕標(biāo)琳琳
2023-06-24 18:04:19