我正在尝试为我的边框添加图像,但现在它似乎只适用于顶部和底部。我需要它绕过整个容器。
这是边框图像:
这是我的容器目前的样子:
相关HTML:
<div class="panel-blurb">
<p class="panel-blurb-text">
Ad molestiae hendrerit mei,
nobis persius deleniti et eum, ea ullum electram dignissim
his. Dicit dolorem moderatius in pro, dicat choro propriae ad mei.
Dicat legimus efficiendi sit in. Natum falli cu nec. Id hinc regione
alienum vel, cu vide atomorum mel. Munere commodo at eos, te laudem docendi
volumus pro, maiorum dignissim ex sea.
</p>
<div class="panel-link-wrapper">
<a class="panel-link" href="#">VIEW DETAILS</a>
</div>
</div>
相关CSS:
.panel-blurb{
width: 88.5%;
background-color: #54504f;
padding: 25px;
border-width: 15px;
border-style: solid;
border-image: url(images/border-min.png) 30;
}